Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AFTERSHOCK] Moxphores #45801

Merged
merged 10 commits into from
Dec 8, 2020
176 changes: 176 additions & 0 deletions data/mods/Aftershock/itemgroups/clothing_group.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
[
{
"id": "coats_unisex_afs",
"type": "item_group",
"//": "unisex coats, jackets, cloaks, etc.",
"subtype": "distribution",
"items": [
{
"distribution": [
{ "item": "cloak", "prob": 80 },
{ "item": "cloak_wool", "prob": 40 },
{ "item": "cloak_leather", "prob": 20 },
{ "item": "cloak_fur", "prob": 10 },
{ "item": "jedi_cloak", "prob": 5 }
],
"prob": 20
},
{
"distribution": [
{ "item": "trenchcoat", "prob": 80 },
{ "item": "trenchcoat_leather", "prob": 60 },
{ "item": "trenchcoat_faux_fur", "prob": 30 },
{ "item": "trenchcoat_fur", "prob": 5 }
],
"prob": 40
},
{
"distribution": [
{ "item": "coat_winter", "prob": 50 },
{ "item": "peacoat", "prob": 50 },
{ "item": "greatcoat", "prob": 35 },
{ "item": "coat_faux_fur", "prob": 20 },
{ "item": "coat_fur", "prob": 10 },
{ "item": "coat_fur_sf", "prob": 5 }
],
"prob": 80
},
{
"distribution": [
{ "item": "jacket_leather", "prob": 50 },
{ "item": "jacket_leather_red", "prob": 25 },
{ "item": "poncho", "prob": 30 },
{ "item": "ski_jacket", "prob": 25 }
],
"prob": 60
},
{ "distribution": [ { "item": "army_top", "prob": 40 }, { "item": "blazer", "prob": 70 } ], "prob": 40 }
]
},
{
"type": "item_group",
"id": "common_gloves_afs",
"subtype": "distribution",
"entries": [
{ "item": "gloves_light", "prob": 15 },
{ "item": "gloves_leather", "prob": 15 },
{ "item": "gloves_wool", "prob": 15 },
{ "item": "gloves_winter", "prob": 10 },
{ "item": "gloves_liner", "prob": 15 },
{ "item": "mittens", "prob": 5 },
{ "item": "thermal_gloves", "prob": 2 }
]
},
{
"type": "item_group",
"id": "hatstore_hats_afs",
"items": [ [ "hat_cotton", 30 ], [ "hat_knit", 40 ], [ "hat_faux_fur", 30 ], [ "hat_fur", 20 ], [ "balclava", 20 ] ]
},
{
"id": "scarfs_unisex_afs",
"type": "item_group",
"//": "unisex scarfs and fabric coverings",
"subtype": "distribution",
"items": [
{ "item": "bandana", "prob": 90 },
{ "item": "balclava", "prob": 50 },
{ "item": "headscarf", "prob": 50 },
{ "item": "scarf_fur_long", "prob": 10 },
{ "item": "scarf_fur", "prob": 20 },
{ "item": "scarf", "prob": 80 },
{ "item": "scarf_long", "prob": 40 },
{ "item": "long_knit_scarf", "prob": 40 },
{ "item": "knit_scarf", "prob": 80 },
{ "item": "keffiyeh", "prob": 30 },
{ "item": "mask_ski", "prob": 30 },
{ "item": "thermal_mask", "prob": 5 }
]
},
{
"id": "accesories_personal_unisex_afs",
"type": "item_group",
"//": "unisex personal accessories",
"subtype": "collection",
"items": [
{ "group": "clothing_glasses", "prob": 50 },
{ "group": "clothing_watch", "prob": 15 },
{ "group": "accessory_ring", "prob": 15 },
{ "group": "accessory_earring", "prob": 15 },
{ "group": "accessory_bracelet", "prob": 15 },
{ "group": "accessory_teeth", "prob": 5 },
{ "group": "accessory_necklace", "prob": 15 },
{ "group": "accessory_cat", "prob": 5 },
{ "group": "accessory_weaponcarry", "prob": 15 },
{ "group": "accessory_sportsgear", "prob": 15 },
{ "item": "tool_belt", "prob": 10 },
{ "item": "leather_belt", "prob": 60 },
{ "item": "wearable_light", "prob": 30, "charges": [ 0, 100 ] },
{ "item": "binoculars", "prob": 10 },
{ "item": "whistle", "prob": 30 },
{ "item": "harmonica_holder", "prob": 10 },
{ "group": "flask_liquor", "prob": 10 }
]
},
{
"type": "item_group",
"id": "pants_unisex_afs",
"subtype": "distribution",
"entries": [
{ "item": "jeans", "prob": 90 },
{ "item": "jeans_red", "prob": 50 },
{ "item": "pants", "prob": 75 },
{ "item": "pants_leather", "prob": 60 },
{ "item": "pants_cargo", "prob": 70 },
{ "item": "pants_ski", "prob": 45 },
{ "item": "pants_fur", "prob": 5 },
{ "item": "pants_faux_fur", "prob": 15 },
{ "item": "breeches", "prob": 25 }
]
},
{
"id": "shirts_unisex_afs",
"type": "item_group",
"//": "unisex shirts",
"subtype": "distribution",
"items": [
{ "item": "longshirt", "prob": 70 },
{ "item": "arm_warmers", "prob": 20 },
{ "item": "armguard_soft", "prob": 10 },
{ "item": "dress_shirt", "prob": 50 },
{ "item": "flag_shirt", "prob": 15 },
{ "item": "linuxtshirt", "prob": 10 },
{ "item": "polo_shirt", "prob": 30 },
{ "item": "sweater", "prob": 40 },
{ "item": "turtleneck", "prob": 15 },
{ "item": "turtleneck_shirt", "prob": 15 },
{ "item": "sweatshirt", "prob": 50 },
{ "item": "tank_top", "prob": 30 },
{ "item": "tshirt", "prob": 80 },
{ "item": "tshirt_text", "prob": 50 },
{ "item": "waistcoat", "prob": 10 },
{ "item": "wool_hoodie", "prob": 10 },
{ "item": "hoodie", "prob": 40 }
]
},
{
"id": "shoes_unisex_afs",
"type": "item_group",
"//": "unisex shoes (there are no men's only shoes)",
"subtype": "distribution",
"items": [
{
"distribution": [
{ "item": "boots", "prob": 80 },
{ "item": "boots_hiking", "prob": 50 },
{ "item": "boots_steel", "prob": 50 },
{ "item": "boots_combat", "prob": 45 },
{ "item": "boots_fur", "prob": 10 },
{ "item": "boots_winter", "prob": 30 },
{ "item": "knee_high_boots", "prob": 15 },
{ "item": "motorbike_boots", "prob": 35 }
],
"prob": 60
}
]
}
]
101 changes: 99 additions & 2 deletions data/mods/Aftershock/items/comestibles/alienfood.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"volume": "5 ml",
"charges": 3,
"fun": -8,
"vitamins": [ [ "calcium", 5 ], [ "iron", 12 ], [ "vitA", 20 ], [ "vitC", 56 ] ]
"vitamins": [ [ "calcium", 5 ], [ "iron", 12 ], [ "vitA", 20 ], [ "vitC", 56 ], [ "mutant_toxin", 25 ] ]
},
{
"id": "yum_lichen_extra",
Expand All @@ -34,6 +34,103 @@
"volume": "5 ml",
"charges": 3,
"fun": -3,
"vitamins": [ [ "calcium", 5 ], [ "iron", 12 ], [ "vitA", 20 ], [ "vitC", 56 ] ]
"vitamins": [ [ "calcium", 5 ], [ "iron", 12 ], [ "vitA", 20 ], [ "vitC", 56 ], [ "mutant_toxin", 25 ] ]
},
{
"id": "frost_human_flesh",
"copy-from": "flesh",
"type": "COMESTIBLE",
"name": { "str": "chunk of frostbitten human meat", "str_pl": "chunks of frostbitten human meat" },
"description": "Freshly butchered meat from a frozen human carcass, not the most appetizing.",
"weight": "296 g",
"volume": "250 ml",
"price": 500,
"price_postapoc": 50,
"spoils_in": "1 day",
"calories": 402,
"healthy": -1,
"fun": -10,
"cooks_like": "meat_cooked",
"vitamins": [ [ "vitC", 13 ], [ "calcium", 2 ], [ "iron", 53 ], [ "vitB", 778 ], [ "mutant_toxin", 25 ] ],
"flags": [ "SMOKABLE", "RAW" ],
"smoking_result": "meat_smoked"
},
{
"id": "frost_hstomach",
"copy-from": "flesh",
"type": "COMESTIBLE",
"name": "frostbitten human stomach",
"description": "A shriveled grey stomach, it hasn't seen use in a very long time.",
"weight": "72 g",
"volume": "250 ml",
"vitamins": [ [ "mutant_toxin", 25 ] ],
"price_postapoc": 25,
"price": 200,
"spoils_in": "8 hours",
"calories": 60,
"quench": 1,
"healthy": -1,
"fun": -15
},
{
"type": "COMESTIBLE",
"id": "frost_bone_human",
"category": "spare_parts",
"name": { "str": "frostbitten human bone" },
"weight": "225 g",
"color": "white",
"symbol": "%",
"description": "A stretched bumpy piece of bone, unpleasant to hold.",
"price": 0,
"price_postapoc": 10,
"material": [ "bone" ],
"milling": { "into": "meal_bone", "conversion_rate": 4 },
"volume": "250 ml",
"vitamins": [ [ "calcium", 96 ], [ "mutant_toxin", 25 ] ]
},
{
"type": "COMESTIBLE",
"id": "frost_human_fat",
"name": { "str": "chunk of frostbitten human fat", "str_pl": "chunks of frostbitten human fat" },
"weight": "220 g",
"color": "pink",
"spoils_in": "3 days",
"comestible_type": "FOOD",
"symbol": "%",
"quench": -10,
"healthy": -5,
"price_postapoc": 250,
"calories": 1923,
"description": "Light green fat, smelling absolutely rancid. You could eat it, but it wouldn't be worth it.",
"price": 0,
"material": [ "flesh" ],
"volume": "250 ml",
"vitamins": [ [ "mutant_toxin", 25 ] ],
"parasites": 32,
"stack_size": 1,
"fun": -20
},
{
"type": "COMESTIBLE",
"id": "frost_raw_hleather",
"category": "spare_parts",
"name": "raw frostbitten human skin",
"weight": "100 g",
"volume": "125 ml",
"color": "pink",
"spoils_in": "1 day 12 hours",
"comestible_type": "FOOD",
"symbol": ",",
"quench": -2,
"healthy": -1,
"calories": 350,
"description": "A carefully folded raw skin harvested from a human corpse. It is stained blue from frostbite. You can cure it for storage and tanning, or eat it if you're desperate enough.",
"price": 330,
"price_postapoc": 20,
"material": [ "flesh" ],
"flags": [ "TRADER_AVOID" ],
"vitamins": [ [ "mutant_toxin", 25 ] ],
"stack_size": 1,
"fun": -12
}
]
11 changes: 11 additions & 0 deletions data/mods/Aftershock/mobs/monster_faction.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,16 @@
"neutral": "herbivore",
"by_mood": [ "insect", "small_animal", "player" ],
"hate": "zombie"
},
{
"type": "MONSTER_FACTION",
"name": "moxie",
"neutral": "bio_machine",
"hate": [ "small_animal", "herbivore", "insect", "player" ]
},
{
"type": "MONSTER_FACTION",
"name": "bio_machine",
"neutral": [ "moxie", "small_animal", "herbivore", "insect", "player" ]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want all bio_machines ignoring the player unless the player attacks it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea is that bio-machines would be the docile form of moxphores so they can add flavor and populate the world, and will only either attack or flee if attacked themselves, I didn't want all bio-machines to be inherently hostile to the player.

}
]
12 changes: 12 additions & 0 deletions data/mods/Aftershock/mobs/monster_groups.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,17 @@
{ "monster": "mon_uplifted_octupus", "freq": 3, "cost_multiplier": 10 },
{ "monster": "mon_zombie_upliftedoctopus", "freq": 1, "cost_multiplier": 10 }
]
},
{
"type": "monstergroup",
"name": "GROUP_LAB",
"default": "mon_zombie_scientist",
"monsters": [
{ "monster": "mon_moxie_scavenger", "freq": 25, "cost_multiplier": 0, "pack_size": [ 1, 4 ] },
{ "monster": "mon_moxie_spartan", "freq": 25, "cost_multiplier": 0 },
{ "monster": "mon_moxie_regenerator", "freq": 25, "cost_multiplier": 0, "pack_size": [ 1, 4 ] },
{ "monster": "mon_moxie_grabby", "freq": 25, "cost_multiplier": 0, "pack_size": [ 1, 4 ] },
{ "monster": "mon_human_biomachine", "freq": 25, "cost_multiplier": 0, "pack_size": [ 1, 4 ] }
]
}
]
13 changes: 13 additions & 0 deletions data/mods/Aftershock/mobs/species.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,18 @@
"id": "UPLIFT",
"description": "an intelligent animal created by man before the Cataclysm",
"fear_triggers": [ "HURT", "FIRE", "FRIEND_DIED" ]
},
{
"type": "SPECIES",
"id": "MOXIE",
"description": "a humanoid monster",
"footsteps": "shuffling."
},
{
"type": "SPECIES",
"id": "BIOMACHINE",
"description": "an unusual creature",
"fear_triggers": [ "HURT", "FIRE", "FRIEND_DIED" ],
"footsteps": "shuffling."
}
]
Loading