Skip to content

Commit

Permalink
Magiclysm - Golems (CleverRaven#35658)
Browse files Browse the repository at this point in the history
* Adds 3 kinds of golems.

They still need more work.

* Changes to golems.

Still not done.
Add broken golems and effect/spells later.

* Add slow effect.

* Add spells for golems.

* Update monsterspells.json

* Update effects.json

* Update monsters.json

* Create constructs.json

* Create deconstruction.json

* Update deconstruction.json

* Update monsterspells.json

* Edit golem descriptions.

* Update deconstruction.json

* Added golems to forest mon_group

I didn't have a better idea where to add them.

* Fix monsters weight.

* Change weight from grams to kilograms.

* Tweak spells.

* Change valid targets for gas_attack spell

Co-Authored-By: Curtis Merrill <[email protected]>

* Lint

* One more lint

* Fix regeneration for lemure.

* some fixes

* remove merge error

* more color fixes

Co-authored-by: Curtis Merrill <[email protected]>
  • Loading branch information
arijust and KorGgenT committed Dec 31, 2019
1 parent 02408f0 commit ab4acd2
Show file tree
Hide file tree
Showing 5 changed files with 222 additions and 0 deletions.
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 ] ] ]
}
]

0 comments on commit ab4acd2

Please sign in to comment.