summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjc_gargma <jc_gargma@iserlohn-fortress.net>2022-04-19 16:12:58 -0700
committerjc_gargma <jc_gargma@iserlohn-fortress.net>2022-04-19 16:12:58 -0700
commit27e1d0d36c75c9a8619fb342a220afacda44d439 (patch)
treebab6c7da4c82c3aeedfb0ae92839e138266b8f8a
downloadcataclysm-bn-mod_restore-reactor-core-expansion-27e1d0d36c75c9a8619fb342a220afacda44d439.tar.xz
Initial commit
-rw-r--r--json/itemgroups/Locations_MapExtras/locations.json10
-rw-r--r--json/itemgroups/Monsters_Animal_Lairs/monster_drops_lairs.json11
-rw-r--r--json/itemgroups/electronics.json9
-rw-r--r--json/itemgroups/main.json20
-rw-r--r--json/itemgroups/military.json26
-rw-r--r--json/itemgroups/tools.json10
-rw-r--r--json/items/toolmod.json17
-rw-r--r--modinfo.json11
8 files changed, 114 insertions, 0 deletions
diff --git a/json/itemgroups/Locations_MapExtras/locations.json b/json/itemgroups/Locations_MapExtras/locations.json
new file mode 100644
index 0000000..1fa29bb
--- /dev/null
+++ b/json/itemgroups/Locations_MapExtras/locations.json
@@ -0,0 +1,10 @@
+[
+ {
+ "id": "energy_weapon_armory",
+ "type": "item_group",
+ "subtype": "distribution",
+ "items": [
+ [ "double_plutonium_core", 15 ]
+ ]
+ }
+]
diff --git a/json/itemgroups/Monsters_Animal_Lairs/monster_drops_lairs.json b/json/itemgroups/Monsters_Animal_Lairs/monster_drops_lairs.json
new file mode 100644
index 0000000..53378ed
--- /dev/null
+++ b/json/itemgroups/Monsters_Animal_Lairs/monster_drops_lairs.json
@@ -0,0 +1,11 @@
+[
+ {
+ "type": "item_group",
+ "id": "spider",
+ "magazine": 100,
+ "subtype": "distribution",
+ "entries": [
+ { "item": "double_plutonium_core", "prob": 2 }
+ ]
+ }
+]
diff --git a/json/itemgroups/electronics.json b/json/itemgroups/electronics.json
new file mode 100644
index 0000000..673808c
--- /dev/null
+++ b/json/itemgroups/electronics.json
@@ -0,0 +1,9 @@
+[
+ {
+ "type": "item_group",
+ "id": "electronics",
+ "items": [
+ { "item": "double_plutonium_core", "prob": 5 }
+ ]
+ }
+]
diff --git a/json/itemgroups/main.json b/json/itemgroups/main.json
new file mode 100644
index 0000000..d995767
--- /dev/null
+++ b/json/itemgroups/main.json
@@ -0,0 +1,20 @@
+[
+ {
+ "type": "item_group",
+ "id": "rare",
+ "magazine": 100,
+ "subtype": "distribution",
+ "entries": [
+ { "item": "double_plutonium_core", "prob": 50 }
+ ]
+ },
+ {
+ "type": "item_group",
+ "id": "nanofab_recipes",
+ "magazine": 100,
+ "subtype": "distribution",
+ "entries": [
+ { "item": "double_plutonium_core", "prob": 10 }
+ ]
+ }
+]
diff --git a/json/itemgroups/military.json b/json/itemgroups/military.json
new file mode 100644
index 0000000..ab1329f
--- /dev/null
+++ b/json/itemgroups/military.json
@@ -0,0 +1,26 @@
+[
+ {
+ "type": "item_group",
+ "id": "military",
+ "subtype": "distribution",
+ "entries": [
+ { "item": "double_plutonium_core", "prob": 3 }
+ ]
+ },
+ {
+ "type": "item_group",
+ "id": "mil_hw",
+ "subtype": "distribution",
+ "entries": [
+ { "item": "double_plutonium_core", "prob": 3 }
+ ]
+ },
+ {
+ "type": "item_group",
+ "id": "helicopter",
+ "subtype": "distribution",
+ "entries": [
+ { "item": "double_plutonium_core", "prob": 5 }
+ ]
+ }
+]
diff --git a/json/itemgroups/tools.json b/json/itemgroups/tools.json
new file mode 100644
index 0000000..e9a8bb2
--- /dev/null
+++ b/json/itemgroups/tools.json
@@ -0,0 +1,10 @@
+[
+ {
+ "type": "item_group",
+ "id": "tools_robotics",
+ "//": "tools and equipment you might find on robotics laboratories.",
+ "items": [
+ { "item": "double_plutonium_core", "prob": 2 }
+ ]
+ }
+]
diff --git a/json/items/toolmod.json b/json/items/toolmod.json
new file mode 100644
index 0000000..764c9d5
--- /dev/null
+++ b/json/items/toolmod.json
@@ -0,0 +1,17 @@
+[
+ {
+ "id": "double_plutonium_core",
+ "type": "TOOLMOD",
+ "category": "spare_parts",
+ "name": { "str": "reactor core expansion device" },
+ "description": "This is an expansion device for use on plutonium-powered equipment. With enough electronics skill, you could attach this to an atomic tool to double the amount of plutonium it can hold. Note that this device is incompatible with the atomic battery mod.",
+ "weight": "694 g",
+ "volume": "750 ml",
+ "price": 10000,
+ "material": [ "superalloy", "plastic" ],
+ "symbol": ";",
+ "color": "dark_gray",
+ "acceptable_ammo": [ "plutonium" ],
+ "capacity_multiplier": 2.0
+ }
+]
diff --git a/modinfo.json b/modinfo.json
new file mode 100644
index 0000000..82fdeda
--- /dev/null
+++ b/modinfo.json
@@ -0,0 +1,11 @@
+[
+ {
+ "type": "MOD_INFO",
+ "ident": "restore-reactor-core-expansion",
+ "name": "Restore Reactor Core Expansion",
+ "authors": ["jc_gargma"],
+ "description": "Restore the reactor core expansion device.",
+ "category": "items",
+ "dependencies": [ "dda" ]
+ }
+]