Skip to content

Commit

Permalink
Returned obsoleted items and other fixes (CleverRaven#51608)
Browse files Browse the repository at this point in the history
  • Loading branch information
Night-Pryanik authored Sep 15, 2021
1 parent b81351e commit a663461
Show file tree
Hide file tree
Showing 4 changed files with 313 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/mods/No_Hope/Mapgen/house21.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
},
"furniture": { "D": "f_dumpster", "P": "f_mailbox", "{": "f_dumpster" },
"place_item": [
{ "chance": 20, "item": "toolbox", "x": 14, "y": 10 },
{ "chance": 30, "item": "glass_sheet", "x": 5, "y": 18 },
{ "chance": 30, "item": "glass_sheet", "x": 6, "y": 18 },
{ "chance": 30, "item": "101_carpentry", "x": 8, "y": 7 },
Expand All @@ -122,6 +121,7 @@
{ "chance": 30, "item": "glass_sheet", "x": 7, "y": 19 }
],
"place_items": [
{ "chance": 20, "item": "tools_toolbox", "x": 14, "y": 10 },
{ "chance": 30, "item": "building_rubble", "x": 4, "y": 10 },
{ "chance": 30, "item": "building_rubble", "x": [ 13, 14 ], "y": 4 },
{ "chance": 30, "item": "building_rubble", "x": [ 12, 13 ], "y": 3 },
Expand Down
2 changes: 1 addition & 1 deletion data/mods/No_Hope/Mapgen/private_resort.json
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,7 @@
"***WWWWWWWWWWWWWWWWWW***"
],
"palettes": [ "p_resort_palette_basement" ],
"place_item": [ { "item": "toolbox", "repeat": 1, "x": 8, "y": 11 } ],
"place_loot": [ { "group": "tools_toolbox", "repeat": 1, "x": 8, "y": 11 } ],
"items": {
"S": { "item": "preserved_food", "chance": 50, "repeat": [ 0, 3 ] },
"f": { "item": "butcher_raw_meat", "chance": 50, "repeat": [ 0, 6 ] }
Expand Down
47 changes: 47 additions & 0 deletions data/mods/No_Hope/item_groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,52 @@
{ "group": "newspaper", "prob": 10 },
[ "handflare_dead", 3 ]
]
},
{
"type": "item_group",
"id": "chickenbot",
"items": [
[ "robot_controls", 5 ],
[ "ai_module", 5 ],
[ "sensor_module", 5 ],
[ "memory_module", 5 ],
[ "pathfinding_module", 5 ],
[ "identification_module", 5 ],
[ "reverse_jointed_legs", 40 ],
[ "chickenbot_chassis", 40 ],
[ "targeting_module", 5 ],
[ "gun_module", 30 ],
[ "mark19", 5 ],
[ "tazer", 5 ],
[ "m249", 5 ],
[ "storage_battery", 5 ],
[ "plut_cell", 5 ],
[ "mil_plate", 2 ]
]
},
{
"type": "item_group",
"id": "tankbot",
"items": [
[ "tazer", 3 ],
{ "item": "flamethrower", "prob": 1, "charges-min": 0, "charges-max": 3000 },
[ "556", 8 ],
[ "alloy_plate", 10 ],
[ "kevlar_plate", 10 ],
[ "ceramic_armor", 10 ],
[ "hard_plate", 30 ],
[ "robot_controls", 5 ]
]
},
{
"type": "item_group",
"id": "tripod",
"items": [
{ "item": "flamethrower", "prob": 1, "charges-min": 0, "charges-max": 3000 },
[ "kevlar_plate", 10 ],
[ "ceramic_armor", 15 ],
[ "alloy_plate", 10 ],
[ "robot_controls", 3 ]
]
}
]
264 changes: 264 additions & 0 deletions data/mods/No_Hope/items.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,264 @@
[
{
"id": "schematics_chickenbot",
"type": "BOOK",
"name": { "str_sp": "chicken walker schematics" },
"description": "Bearing the logo of Northrop, those are assembly plans, design specs, and technical drawings for the chicken walker. Most of this is useless to you, but you could use the assembly plans to re-assemble the robot from salvaged parts.",
"copy-from": "schematics_generic"
},
{
"id": "schematics_tankbot",
"type": "BOOK",
"name": { "str_sp": "tank drone schematics" },
"description": "Bearing the logo of Northrop, those are assembly plans, design specs, and technical drawings for the tank drone. Most of this is useless to you, but you could use the assembly plans to re-assemble the robot from salvaged parts.",
"copy-from": "schematics_generic"
},
{
"id": "schematics_tripod",
"type": "BOOK",
"name": { "str_sp": "tripod schematics" },
"description": "Bearing the logo of Honda, those are assembly plans, design specs, and technical drawings for the tripod. Most of this is useless to you, but you could use the assembly plans to re-assemble the robot from salvaged parts.",
"copy-from": "schematics_generic"
},
{
"id": "bot_chickenbot",
"type": "TOOL",
"name": { "str": "inactive chicken walker" },
"description": "This is an inactive chicken walker. Using this item involves placing it on the ground, loading the unit with the factory-loaded 5.56 rounds and 40mm cartridge grenades in your inventory (if you wish to divide your ammunition, set aside whatever ammunition you do NOT want to give the robot) and turning it on. If reprogrammed and rewired successfully the chicken walker will then identify you as a friendly, roam around or follow you, and attack all enemies with a built-in firearm and grenade launcher.",
"weight": "120000 g",
"volume": "92500 ml",
"price": 50000000,
"to_hit": -3,
"bashing": 8,
"material": [ "steel" ],
"symbol": ";",
"color": "light_green",
"use_action": {
"type": "place_monster",
"monster_id": "mon_chickenbot",
"friendly_msg": "The chicken walker rises to its feet, sways away from you and begins surveying the area.",
"hostile_msg": "The chicken walker whirrs and aims directly at you. Take cover!",
"//": "Milspec, but was deployed in active service implying a reliable IFF",
"difficulty": 9,
"moves": 250,
"skills": [ "electronics", "computer" ]
}
},
{
"id": "bot_tankbot",
"looks_like": "broken_tankbot",
"type": "TOOL",
"name": { "str": "inactive tank drone" },
"description": "This is an inactive Beagle Mini-Tank UGV. Using this item involves placing it on the ground, loading the unit with the factory-loaded 5.56 rounds and 40mm cartridge grenades in your inventory (if you wish to divide your ammunition, set aside whatever ammunition you do NOT want to give the robot) and turning it on. If reprogrammed and rewired successfully the tank drone will then identify you as a friendly, roam around or follow you, and attack all enemies with a built-in firearm and grenade launcher.",
"weight": "200000 g",
"//": "cheating a bit with the volume due to lack of proper vehicle storage options",
"volume": "250 L",
"price": 100000000,
"to_hit": -3,
"bashing": 8,
"material": [ "steel" ],
"symbol": ";",
"color": "light_green",
"use_action": {
"type": "place_monster",
"monster_id": "mon_tankbot",
"friendly_msg": "The tank drone rolls out and begins acquiring targets.",
"hostile_msg": "The tank drone swivels its turret and aims directly at you. Don your brown pants!",
"//": "Milspec, clearly designed with little concern for collateral damage. What did you expect of a robo-tank?",
"difficulty": 10,
"moves": 500,
"skills": [ "electronics", "computer" ]
}
},
{
"type": "GENERIC",
"id": "broken_chickenbot",
"looks_like": "broken_tripod",
"symbol": ",",
"color": "green",
"name": { "str": "broken chickenbot" },
"category": "other",
"description": "A broken chicken walker. Still looks intimidating despite being permanently inoperative, possibly due to the sheer size and mass. Could be gutted for parts.",
"price": 1000,
"material": [ "steel", "plastic" ],
"weight": "1023850 g",
"volume": "1100 L",
"bashing": 20,
"cutting": 15,
"to_hit": -3,
"use_action": {
"type": "place_monster",
"monster_id": "mon_chickenbot",
"friendly_msg": "The chicken bot rolls out and begins acquiring targets.",
"hostile_msg": "The chicken bot swivels its turret and aims directly at you. Don your brown pants!",
"//": "Milspec, clearly designed with little concern for collateral damage. What did you expect of a chicken walker?",
"difficulty": 10,
"moves": 500,
"skills": [ "electronics", "computer" ]
}
},
{
"id": "bot_tripod",
"looks_like": "broken_tripod",
"type": "TOOL",
"name": { "str": "inactive tripod" },
"description": "This is an inactive Honda Regnal. Using this item involves placing it on the ground, wondering how it fuels its flamethrower and turning it on. If reprogrammed and rewired successfully the tribot will then identify you as an ally, roam around or follow you, and impale hostiles with its spiked cable weapons.",
"weight": "120000 g",
"volume": "92500 ml",
"price": 100000000,
"to_hit": -3,
"bashing": 8,
"material": [ "steel" ],
"symbol": ";",
"color": "light_green",
"use_action": {
"type": "place_monster",
"monster_id": "mon_tripod",
"friendly_msg": "The tribot rises to its feet and scans the area for contaminants.",
"hostile_msg": "The tribot glowers down at you and ignites its flamethrower. Turns out you hate the smell of napalm.",
"//": "No observed open deployment, likely a prototype or secret project",
"difficulty": 15,
"moves": 500,
"skills": [ "electronics", "computer" ]
}
},
{
"type": "GENERIC",
"id": "broken_tripod",
"symbol": ",",
"color": "green",
"name": { "str": "broken tribot" },
"category": "other",
"description": "A broken tribot. Now that its legs lie broken and immobile, the world seems a little less threatening. Could be gutted for parts.",
"price": 1000,
"material": [ "steel", "plastic" ],
"weight": "430000 g",
"volume": "187500 ml",
"bashing": 10,
"cutting": 6,
"to_hit": -2,
"flags": [ "TRADER_AVOID", "NO_REPAIR" ]
},
{
"type": "GENERIC",
"id": "broken_tankbot",
"symbol": ",",
"color": "green",
"name": { "str": "broken tank drone" },
"category": "other",
"description": "A broken tank drone. Still looks intimidating despite being permanently inoperative, possibly due to the sheer size and mass. Could be gutted for parts.",
"price": 1000,
"material": [ "steel", "plastic" ],
"weight": "1223850 g",
"volume": "875 L",
"bashing": 20,
"cutting": 15,
"to_hit": -3,
"flags": [ "TRADER_AVOID", "NO_REPAIR" ]
},
{
"type": "GENERIC",
"id": "tripod_chassis",
"name": { "str_sp": "tripod chassis" },
"description": "What's left when you remove all moving parts and electronics. It's the skeleton and armor of the tripod.",
"symbol": "c",
"color": "light_gray",
"weight": "40000 g",
"volume": "70000 ml",
"price": 200000,
"material": [ "steel" ],
"category": "spare_parts"
},
{
"type": "GENERIC",
"id": "chickenbot_chassis",
"name": { "str_sp": "chicken walker chassis" },
"description": "What's left when you remove all moving parts and electronics. It's the skeleton and armor of the chicken walker.",
"symbol": "c",
"color": "light_gray",
"weight": "60000 g",
"volume": "80000 ml",
"price": 300000,
"material": [ "steel" ],
"category": "spare_parts"
},
{
"type": "GENERIC",
"id": "tankbot_chassis",
"name": { "str_sp": "Beagle chassis" },
"description": "What's left when you remove all moving parts and electronics. It's the skeleton and armor of the Beagle tank.",
"symbol": "c",
"color": "light_gray",
"weight": "150000 g",
"volume": "575000 ml",
"price": 1000000,
"material": [ "steel" ],
"category": "spare_parts"
},
{
"id": "TANK",
"looks_like": "m79",
"type": "GUN",
"symbol": "(",
"color": "green",
"name": { "str_sp": "Tankbot Main Gun" },
"description": "The 120mm cannon from a tankbot. If you have this, you'd best be debugging!",
"price": 99999999,
"material": [ "steel" ],
"skill": "launcher",
"ammo": [ "120mm" ],
"weight": "2500 g",
"volume": "2500 ml",
"bashing": 6,
"to_hit": -3,
"dispersion": 60,
"durability": 9,
"clip_size": 1,
"loudness": 300,
"pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "120mm": 1 } } ]
},
{
"type": "GENERIC",
"id": "spidery_legs_big",
"name": { "str": "set of spidery legs", "str_pl": "sets of spidery legs" },
"description": "A set of big pointy legs, like the ones found under a tripod.",
"symbol": "W",
"color": "light_gray",
"weight": "40000 g",
"volume": "20 L",
"price": 200000,
"material": [ "steel" ],
"category": "spare_parts"
},
{
"id": "bot_laserturret",
"type": "TOOL",
"name": { "str": "inactive laser turret" },
"description": "This is an inactive laser turret. Using this item involves turning it on and placing it on the ground, where it will attach itself. If reprogrammed and rewired successfully the turret will identify you as a friendly, and attack all enemies with its revolving laser cannons. It requires sunlight in order to fire.",
"weight": "40750 g",
"volume": "30 L",
"price": 600000,
"price_postapoc": 12000,
"to_hit": -3,
"bashing": 8,
"material": [ "steel", "plastic" ],
"symbol": ";",
"color": "white",
"use_action": {
"type": "place_monster",
"monster_id": "mon_laserturret",
"difficulty": 6,
"moves": 100,
"skills": [ "electronics", "computer" ]
}
},
{
"type": "GENERIC",
"id": "broken_laserturret",
"symbol": ",",
"color": "green",
"name": { "str": "broken laser turret" },
"weight": "110 kg",
"copy-from": "broken_turret"
}
]

0 comments on commit a663461

Please sign in to comment.