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

Magiclysm - Golems #35658

Merged
merged 27 commits into from
Dec 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions data/mods/Magiclysm/Spells/monsterspells.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,49 @@
"effect": "projectile_attack",
"extra_effects": [ { "id": "light_healing", "hit_self": true } ]
},
{
"id": "rocket_punch",
"type": "SPELL",
"name": "Rocket Punch",
"description": "Ejects giant fist from arm.",
"valid_targets": [ "hostile" ],
"flags": [ "NO_LEGS" ],
"damage_type": "bash",
"min_damage": 30,
"max_damage": 40,
"damage_increment": 2,
"max_level": 5,
"min_range": 1,
"max_range": 2,
"range_increment": 0.2,
"effect": "projectile_attack"
},
{
"id": "gas_attack",
"type": "SPELL",
"name": "Gas Attack",
"description": "Spreads toxic gas around itself.",
"valid_targets": [ "self", "hostile", "ground" ],
"flags": [ "NO_HANDS", "NO_LEGS" ],
"damage_type": "bio",
"min_damage": 1,
"max_damage": 1,
"max_level": 5,
"min_range": 1,
"max_range": 3,
"range_increment": 0.2,
"effect": "target_attack",
"field_id": "fd_toxic_gas",
"field_chance": 10,
"min_field_intensity": 1,
"max_field_intensity": 1,
"min_duration": 1000,
"max_duration": 6000,
"duration_increment": 1000,
"min_aoe": 1,
"max_aoe": 2,
"aoe_increment": 0.2
},
{
"type": "SPELL",
"id": "mon_demon_fireball",
Expand Down
52 changes: 52 additions & 0 deletions data/mods/Magiclysm/items/constructs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[
{
"type": "GENERIC",
"id": "broken_claygolem",
"symbol": "x",
"color": "brown",
"name": "broken clay golem",
"category": "other",
"description": "A broken clay golem, looking like piece of post-modern art. Could be smashed for clay.",
"price": 10000,
"material": [ "clay" ],
"weight": "122 kg",
"volume": "120 L",
"bashing": 4,
"cutting": 4,
"to_hit": -3,
"flags": [ "TRADER_AVOID", "NO_REPAIR" ]
},
{
"type": "GENERIC",
"id": "broken_stonegolem",
"symbol": "x",
"color": "light_gray",
"name": "broken stone golem",
"category": "other",
"description": "A broken stone golem, not that much different from big boulder. Could be smashed for stone.",
"price": 10000,
"material": [ "stone" ],
"weight": "162 kg",
"volume": "120 L",
"bashing": 4,
"cutting": 4,
"to_hit": -3,
"flags": [ "TRADER_AVOID", "NO_REPAIR" ]
},
{
"type": "GENERIC",
"id": "broken_irongolem",
"symbol": "x",
"color": "dark_gray",
"name": "broken iron golem",
"category": "other",
"description": "A broken iron golem, with all iron you would possibly ever need. Could be smashed for iron.",
"price": 100000,
"material": [ "iron" ],
"weight": "945 kg",
"volume": "120 L",
"bashing": 30,
"to_hit": -5,
"flags": [ "TRADER_AVOID", "NO_REPAIR" ]
}
]
3 changes: 3 additions & 0 deletions data/mods/Magiclysm/monstergroups.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
{ "monster": "mon_owlbear", "freq": 10, "cost_multiplier": 10 },
{ "monster": "mon_wisp", "freq": 3, "cost_multiplier": 10, "conditions": [ "NIGHT" ] },
{ "monster": "mon_troll", "freq": 3, "cost_multiplier": 10, "conditions": [ "DAY" ] },
{ "monster": "mon_claygolem", "freq": 8, "cost_multiplier": 3 },
{ "monster": "mon_stonegolem", "freq": 4, "cost_multiplier": 5 },
{ "monster": "mon_irongolem", "freq": 2, "cost_multiplier": 8 },
{ "monster": "mon_demon_spiderling", "freq": 15, "cost_multiplier": 5, "pack_size": [ 3, 7 ] }
]
},
Expand Down
95 changes: 95 additions & 0 deletions data/mods/Magiclysm/monsters/monsters.json
Original file line number Diff line number Diff line change
Expand Up @@ -330,5 +330,100 @@
"death_function": [ "NORMAL" ],
"regenerates": 1,
"flags": [ "SEES", "SMELLS", "HEARS", "STUMBLES", "PATH_AVOID_FIRE", "REVIVES" ]
},
{
"id": "mon_claygolem",
"type": "MONSTER",
"name": "clay golem",
"description": "A large, humanoid golem made from clay. Its proportions are off and it seems fragile.",
"default_faction": "robot",
"bodytype": "human",
"species": [ "ROBOT" ],
"diff": 2,
"volume": "120 L",
"weight": "122 kg",
"hp": 100,
"speed": 80,
"material": [ "clay" ],
"symbol": "X",
"color": "brown",
"aggression": 10,
"morale": 100,
"melee_skill": 6,
"melee_dice": 2,
"melee_dice_sides": 10,
"melee_cut": 5,
"armor_bash": 10,
"armor_cut": 10,
"dodge": 0,
"vision_day": 40,
"vision_night": 40,
"anger_triggers": [ "PLAYER_CLOSE", "HURT" ],
"death_function": [ "BROKEN" ],
"flags": [ "SEES", "NO_BREATHE", "ACIDPROOF", "LOUDMOVES" ]
},
{
"id": "mon_stonegolem",
"type": "MONSTER",
"name": "stone golem",
"description": "A large, humanoid golem made from stone. Its fists look similar to rockets.",
"default_faction": "robot",
"bodytype": "human",
"species": [ "ROBOT" ],
"diff": 2,
"volume": "120 L",
"weight": "162 kg",
"hp": 250,
"speed": 60,
"material": [ "stone" ],
"symbol": "X",
"color": "light_gray",
"aggression": 10,
"morale": 100,
"melee_skill": 6,
"melee_dice": 3,
"melee_dice_sides": 8,
"melee_cut": 6,
"armor_bash": 20,
"armor_cut": 20,
"dodge": 0,
"vision_day": 40,
"vision_night": 40,
"special_attacks": [ { "type": "spell", "spell_id": "rocket_punch", "spell_level": 5, "cooldown": 10 } ],
"anger_triggers": [ "PLAYER_CLOSE", "HURT" ],
"death_function": [ "BROKEN" ],
"flags": [ "SEES", "NO_BREATHE", "ACIDPROOF", "LOUDMOVES" ]
},
{
"id": "mon_irongolem",
"type": "MONSTER",
"name": "iron golem",
"description": "A large, humanoid golem made from iron. Some sort of noxious gas seems to be seeping from its mouth.",
"default_faction": "robot",
"bodytype": "human",
"species": [ "ROBOT" ],
"diff": 2,
"volume": "120 L",
"weight": "945 kg",
"hp": 400,
"speed": 50,
"material": [ "iron" ],
"symbol": "X",
"color": "dark_gray",
"aggression": 10,
"morale": 100,
"melee_skill": 6,
"melee_dice": 3,
"melee_dice_sides": 10,
"melee_cut": 7,
"armor_bash": 32,
"armor_cut": 32,
"dodge": 0,
"vision_day": 40,
"vision_night": 40,
"special_attacks": [ { "type": "spell", "spell_id": "gas_attack", "spell_level": 5, "cooldown": 60 } ],
"anger_triggers": [ "PLAYER_CLOSE", "HURT" ],
"death_function": [ "BROKEN" ],
"flags": [ "SEES", "NO_BREATHE", "ACIDPROOF", "LOUDMOVES" ]
}
]
29 changes: 29 additions & 0 deletions data/mods/Magiclysm/recipes/deconstruction.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[
{
"result": "broken_claygolem",
"type": "uncraft",
"skill_used": "spellcraft",
"difficulty": 2,
"time": "4 h",
"qualities": [ { "id": "HAMMER", "level": 1 } ],
"components": [ [ [ "clay_lump", 231 ] ] ]
},
{
"result": "broken_stonegolem",
"type": "uncraft",
"skill_used": "spellcraft",
"difficulty": 4,
"time": "4 h",
"qualities": [ { "id": "HAMMER", "level": 1 } ],
"components": [ [ [ "rock", 222 ] ], [ [ "sharp_rock", 33 ] ] ]
},
{
"result": "broken_irongolem",
"type": "uncraft",
"skill_used": "spellcraft",
"difficulty": 6,
"time": "6 h",
"qualities": [ { "id": "HAMMER", "level": 1 }, { "id": "SAW_M", "level": 1 } ],
"components": [ [ [ "scrap", 800 ] ], [ [ "steel_lump", 200 ] ] ]
}
]