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] Lizardfolk #35138

Merged
merged 17 commits into from
Dec 7, 2019
Merged
87 changes: 87 additions & 0 deletions data/mods/Magiclysm/Spells/lizardfolk_shaman.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
[
{
"type": "SPELL",
"id": "spell_summon_crocodile",
"name": "Summon Crocodile",
"description": "Summons a permanent crocodile.",
"flags": [ "HOSTILE_SUMMON", "PERMANENT" ],
"valid_targets": [ "ground" ],
"base_casting_time": 200,
"min_damage": 1,
"max_damage": 1,
"min_aoe": 2,
"max_aoe": 2,
"message": "The shaman summons an crocodile!",
"effect": "summon",
"effect_str": "mon_crocodile"
},
{
"type": "SPELL",
"id": "spell_veggrasp",
"name": "Vegetative Grasp",
KorGgenT marked this conversation as resolved.
Show resolved Hide resolved
"description": "This spell causes roots and vines to burst forth from the ground and grab your foes, slowing them and doing a small amount of damage as they dig in.",
"valid_targets": [ "hostile" ],
"flags": [ "LOUD", "SOMATIC", "VERBAL", "NO_LEGS" ],
"effect": "target_attack",
"effect_str": "effect_shaman_entangled",
"min_damage": 1,
"max_damage": 20,
"damage_increment": 1,
"min_aoe": 4,
"max_aoe": 15,
"aoe_increment": 1,
"min_range": 3,
"max_range": 10,
"range_increment": 1,
"min_dot": 0,
"max_dot": 2,
"dot_increment": 0.1,
"min_duration": 1000,
"max_duration": 10000,
"duration_increment": 500,
"min_pierce": 1,
"max_pierce": 5,
"pierce_increment": 0.25,
"damage_type": "stab",
"message": "The shaman entangles you!"
},
{
"id": "shaman_healing",
"type": "SPELL",
"name": "Cure Light Wounds",
KorGgenT marked this conversation as resolved.
Show resolved Hide resolved
"description": "Heals a little bit of damage on the target.",
"valid_targets": [ "self", "ally" ],
"min_damage": -5,
"max_damage": -20,
"damage_increment": -1,
"min_range": 0,
"max_range": 4,
"range_increment": 0.75,
"effect": "target_attack",
"effect_str": "effect_shaman_healed",
"message": "The shaman casts a healing spell!"
},
{
"type": "SPELL",
"id": "spell_shaman_base",
"name": "an ancient reptilian spell",
"description": "Causes one of the shaman spells to be cast.",
"valid_targets": [ "hostile", "ground" ],
"effect": "none",
"base_casting_time": 100,
"flags": [ "WONDER" ],
"min_damage": 1,
"max_damage": 1,
"message": "",
"extra_effects": [
{ "id": "spell_veggrasp" },
{ "id": "spell_veggrasp" },
{ "id": "spell_veggrasp" },
{ "id": "spell_veggrasp" },
{ "id": "shaman_healing" },
{ "id": "shaman_healing" },
{ "id": "shaman_healing" },
{ "id": "spell_summon_crocodile" }
]
}
]
21 changes: 21 additions & 0 deletions data/mods/Magiclysm/effects/effects.json
Original file line number Diff line number Diff line change
Expand Up @@ -222,5 +222,26 @@
"remove_message": "Your fear dissipates.",
"rating": "bad",
"base_mods": { "stim_amount": [ 12, 20, 45 ], "vomit_chance": [ 2, 5, 20 ], "speed_mod": [ -2, -5, -10 ] }
},
{
"type": "effect_type",
"id": "effect_shaman_entangled",
"name": [ "Vegetative Grasp" ],
"desc": [ "Roots and vines entangle you." ],
"max_intensity": 4,
"int_add_val": 1,
"apply_message": "Roots and vines entangle you and slow you down!",
"remove_message": "The roots and vines wither up and die.",
"base_mods": { "speed_mod": [ -60 ] },
"scaling_mods": { "speed_mod": [ -10 ] }
},
{
"type": "effect_type",
"id": "effect_shaman_healed",
KorGgenT marked this conversation as resolved.
Show resolved Hide resolved
"name": [ "Reptilian Healing" ],
"desc": [ "A minor healing spell." ],
"max_intensity": 4,
"int_add_val": 1,
"apply_message": "The shaman casts a healing spell!"
}
]
14 changes: 14 additions & 0 deletions data/mods/Magiclysm/harvest.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,5 +267,19 @@
{ "drop": "tainted_blood", "type": "flesh", "mass_ratio": 0.1 },
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.4 }
]
},
{
"id": "lizardfolk",
"type": "harvest",
"entries": [
{ "drop": "meat", "type": "flesh", "mass_ratio": 0.32 },
{ "drop": "lung", "type": "flesh", "mass_ratio": 0.0035 },
{ "drop": "liver", "type": "offal", "mass_ratio": 0.01 },
{ "drop": "brain", "type": "flesh", "mass_ratio": 0.005 },
{ "drop": "kidney", "type": "offal", "mass_ratio": 0.002 },
{ "drop": "raw_leather", "type": "skin", "mass_ratio": 0.02 },
{ "drop": "sinew", "type": "bone", "mass_ratio": 0.00035 },
{ "drop": "bone", "type": "bone", "mass_ratio": 0.1 }
]
}
]
59 changes: 59 additions & 0 deletions data/mods/Magiclysm/items/weapons.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
[
{
"id": "lizardfolk_club",
"type": "GENERIC",
"name": "greatclub",
"category": "weapons",
"copy-from": "shillelagh",
"//": "A heavier version of the standard shillelagh (from melee.json) with a different description to match the lizardfolk lore. Not craftable, but wieldable if discovered.",
"description": "A stout knotty club with a large knob at the top. While it's very heavy and cumbersome to wield, it's a very effective weapon in the hands of a strong opponent.",
"weight": "6000 g",
"volume": "8000 ml",
"price": 5000,
"flags": [ "UNBREAKABLE_MELEE", "ALWAYS_TWOHAND", "NO_PICKUP", "TRADER_AVOID", "SLOW_WIELD", "FIREWOOD", "NO_REPAIR" ],
"bashing": 22,
"to_hit": 2
KorGgenT marked this conversation as resolved.
Show resolved Hide resolved
},
{
"id": "lizardfolk_trident",
"type": "GENERIC",
"name": "wood trident",
"copy-from": "spear_forked",
"description": "A wooden melee weapon with a hand-forged steel forked spearhead attached to the end. It can be used for stabbing opponents either in close-range or as a thrown weapon, and in the right hands can also readily disarm opponents.",
"weight": "1650 g",
"to_hit": 2,
"techniques": [ "WBLOCK_2", "DEF_DISARM", "IMPALE" ],
"volume": "3000 ml",
"cutting": 29,
"flags": [ "SPEAR", "REACH_ATTACK", "NONCONDUCTIVE", "DURABLE_MELEE", "SHEATH_SPEAR" ],
"price": 15000
},
{
"id": "lizardfolk_javelin",
"type": "GENERIC",
"name": "barbed dart",
"category": "weapons",
"copy-from": "javelin",
"//": "A barbed version of the standard javelin (from spears_and_polearms.json) with a different description to match the lizardfolk lore. Not craftable, but wieldable if discovered.",
"description": "A relative of the javelin, this weapon measures about 3 feet in length and is fletched like an arrow for better accuracy. The business end of the dart has wicked-looking barbs which could cause significant bleeding.",
KorGgenT marked this conversation as resolved.
Show resolved Hide resolved
"weight": "2500 g",
"volume": "2830 ml",
"flags": [ "SPEAR", "SHEATH_SPEAR", "JAVELIN", "TRADER_AVOID", "BLEED", "NO_REPAIR" ]
},
{
"id": "lizardfolk_barbed_dart",
"type": "GUN",
"copy-from": "fake_item",
"name": "barbed dart",
KorGgenT marked this conversation as resolved.
Show resolved Hide resolved
"description": "Fake gun that fires barbed darts.",
"flags": [ "NEVER_JAMS", "NONCONDUCTIVE", "NO_REPAIR", "WATERPROOF_GUN", "NO_SALVAGE", "NO_UNLOAD" ],
"skill": "rifle",
"durability": 10,
"range": 10,
"dispersion": 10,
"body_parts": [ [ "TORSO", 1 ] ],
"ranged_damage": [ { "damage_type": "stab", "amount": 5 } ]
}
]


37 changes: 37 additions & 0 deletions data/mods/Magiclysm/monster_attacks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[
{
"type": "monster_attack",
"attack_type": "melee",
"id": "skewer",
"cooldown": 20,
"move_cost": 180,
"damage_max_instance": [ { "damage_type": "stab", "amount": 15, "armor_penetration": 15, "armor_multiplier": 0.5 } ],
"body_parts": [ [ "TORSO", 1 ] ],
"effects": [ { "id": "bleed", "duration": 100, "bp": "TORSO" }, { "id": "downed", "duration": 3 } ],
"hit_dmg_u": "The %1$s impales your torso with its trident!",
"hit_dmg_npc": "The %1$s impales <npcname>'s torso with its trident!",
"no_dmg_msg_u": "The %1$s tries to impale you with its trident, but fails to penetrate your armor!",
"no_dmg_msg_npc": "The %1$s tries to impale <npcname>'s with its trident, but fails to penetrate their armor!"
KorGgenT marked this conversation as resolved.
Show resolved Hide resolved
},
{
"type": "monster_attack",
"attack_type": "melee",
"id": "crush",
"cooldown": 20,
"move_cost": 180,
"damage_max_instance": [ { "damage_type": "bash", "amount": 8 } ],
"effects": [ { "id": "downed", "duration": 3 } ],
"body_parts": [
[ "HEAD", 3 ],
[ "EYES", 2 ],
[ "MOUTH", 1 ],
[ "ARM_L", 3 ],
[ "ARM_R", 3 ],
[ "TORSO", 4 ]
],
"hit_dmg_u": "The %1$s crushes you with its greatclub!",
"hit_dmg_npc": "The %1$s crushes <npcname> with its greatclub!",
"no_dmg_msg_u": "The %1$s tries to crush you with its greatclub, but swings wide and stumbles.",
"no_dmg_msg_npc": "The %1$s tries to crush <npcname> with its greatclub, but swings wide and stumbles."
}
]
9 changes: 7 additions & 2 deletions data/mods/Magiclysm/monster_factions.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,16 @@
{
"type": "MONSTER_FACTION",
"name": "dragon_black",
"friendly": [ "ooze" ]
"friendly": [ "ooze", "lizardfolk" ]
},
{
"type": "MONSTER_FACTION",
"name": "ooze",
"friendly": [ "dragon_black" ]
"friendly": [ "dragon_black", "lizardfolk", "ooze" ]
},
{
"type": "MONSTER_FACTION",
"name": "lizardfolk",
"friendly": [ "dragon_black", "ooze", "lizardfolk" ]
}
]
123 changes: 123 additions & 0 deletions data/mods/Magiclysm/monsters/lizardfolk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
[
{
"id": "mon_lizardfolk_warrior",
"type": "MONSTER",
"name": "lizardfolk warrior",
"description": "A tall, powerful, reptilian humanoid with a muscular tail whose skin is covered in dark gray-green scales. They are tribal and tend to be found in caves and near water, especially in areas inhabited by dragons and wyrms. They aren't particularly hostile, though they don't care for outsiders and are highly dangerous when provoked. While they usually prefer to fight with their greatclubs, they are equally ferocious with their sharp teeth and claws.",
"default_faction": "lizardfolk",
"bodytype": "human",
"species": [ "LIZARDFOLK" ],
"size": "MEDIUM",
"volume": "80 L",
"weight": 100000,
"hp": 70,
"speed": 105,
"material": [ "flesh" ],
"symbol": "W",
KorGgenT marked this conversation as resolved.
Show resolved Hide resolved
"color": "green",
"aggression": 80,
"morale": 80,
"vision_day": 10,
"vision_night": 20,
"melee_skill": 4,
"melee_dice": 2,
"melee_dice_sides": 4,
"melee_cut": 0,
"dodge": 5,
"armor_bash": 2,
"armor_cut": 12,
"armor_stab": 6,
"harvest": "lizardfolk",
"death_function": [ "NORMAL" ],
"death_drops": [
{ "item": "lizardfolk_club", "prob": 30 },
{ "item": "loincloth", "prob": 40 },
{ "item": "leather_belt", "prob": 20 },
{ "item": "bone_human", "prob": 10 }
],
"special_attacks": [ [ "crush", 5 ], { "type": "bite", "cooldown": 5 } ],
"flags": [
"SEES", "HEARS", "SMELLS", "KEENNOSE", "PATH_AVOID_DANGER_1", "CLIMBS", "GROUP_MORALE", "LEATHER",
"SWIMS", "ATTACKMON", "PUSH_MON", "SWARMS", "BONES", "CAN_OPEN_DOORS", "NO_BREATHE"
]
},
{
"id": "mon_lizardfolk_hunter",
"type": "MONSTER",
"name": "lizardfolk hunter",
"description": "Lizardfolk are very intelligent and cunning, but magical ability is a rare quality. Shamans are chosen from the tribe in childhood, when magical abilities mark the fate of the young tribesman. Not much is known about the initiation ritual they must undergo, but few survive the experience. Shamans are druidic spellcasters that can use the forces of nature to battle enemies as well as summoning assistance when needed.",
KorGgenT marked this conversation as resolved.
Show resolved Hide resolved
"copy-from": "mon_lizardfolk_warrior",
"symbol": "H",
KorGgenT marked this conversation as resolved.
Show resolved Hide resolved
"special_attacks": [
{
"type": "gun",
"cooldown": 5,
"move_cost": 150,
"gun_type": "lizardfolk_barbed_dart",
"fake_skills": [ [ "gun", 8 ], [ "rifle", 8 ] ],
"fake_dex": 8,
"fake_per": 8,
"require_targeting_player": false,
"ranges": [ [ 2, 10, "DEFAULT" ] ],
"description": "The hunter hurls a barbed dart at you!"
},
{ "type": "bite", "cooldown": 5 }
],
"death_drops": [
{ "item": "lizardfolk_javelin", "prob": 30 },
{ "item": "loincloth", "prob": 40 },
{ "item": "spearsling", "prob": 20 },
{ "item": "bone_human", "prob": 10 }
]
},
{
"id": "mon_lizardfolk_shaman",
"type": "MONSTER",
"name": "lizardfolk shaman",
"description": "Lizardfolk are very intelligent and cunning, but magical ability is a rare quality. Shamans are chosen from the tribe in childhood, when magical abilities mark the fate of the young tribesman. Not much is known about the initiation ritual they must undergo, but few survive the experience. Shamans are druidic spellcasters that can use the forces of nature to battle enemies as well as summoning assistance when needed.",
"copy-from": "mon_lizardfolk_warrior",
"symbol": "S",
KorGgenT marked this conversation as resolved.
Show resolved Hide resolved
"hp": 80,
"melee_skill": 3,
"melee_dice": 2,
"melee_dice_sides": 6,
"special_attacks": [ { "type": "spell", "spell_id": "spell_shaman_base", "cooldown": 5 }, [ "scratch", 5 ] ],
"death_drops": [
{ "group": "demon_spider_lair_treasure", "prob": 30 },
KorGgenT marked this conversation as resolved.
Show resolved Hide resolved
{ "item": "robe", "prob": 40 },
{ "item": "leather_belt", "prob": 20 }
]
},
{
"id": "mon_lizardfolk_chieftan",
"type": "MONSTER",
"name": "lizardfolk chieftan",
"description": "Among the lizardfolk, ambition is a rare quality. Chieftans earn their place by exhibiting unusually high levels of ambition, often mistaken by outsiders as excessive, brutal violence. This chief is the largest and strongest member of its tribe and carries a fierce trident to compliment its teeth and claws.",
"copy-from": "mon_lizardfolk_warrior",
"symbol": "C",
KorGgenT marked this conversation as resolved.
Show resolved Hide resolved
"hp": 200,
"melee_skill": 4,
"melee_dice": 3,
"melee_dice_sides": 3,
"melee_cut": 0,
KorGgenT marked this conversation as resolved.
Show resolved Hide resolved
"special_attacks": [ [ "skewer", 2 ], { "type": "bite", "cooldown": 5 } ],
"death_drops": [
{ "item": "lizardfolk_trident", "prob": 30 },
{ "group": "lair_loot_generic", "prob": 40 },
{ "item": "spearsling", "prob": 20 },
{ "item": "bone_human", "prob": 10 }
]
},
{
"id": "mon_crocodile",
"type": "MONSTER",
"name": "crocodile",
"copy-from": "mon_gator",
"//": "A copy of the standard mon_gator (from reptile_amphibian.json) with a different description to match the lizardfolk lore. Lizardfolk Shamans are able to shapeshift into crocodile form.",
"description": "A once-and-future lizardfolk shaman, this large crocodile no longer has any hint of any humanoid characteristics and looks very, very dangerous.",
"default_faction": "lizardfolk",
"species": [ "LIZARDFOLK" ],
"symbol": "C",
"harvest": "lizardfolk"
}
]
6 changes: 6 additions & 0 deletions data/mods/Magiclysm/species.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,11 @@
"type": "SPECIES",
"id": "DRAGON",
"anger_triggers": [ "HURT", "PLAYER_CLOSE", "PLAYER_WEAK", "STALK" ]
},
{
"type": "SPECIES",
"id": "LIZARDFOLK",
"anger_triggers": [ "FRIEND_ATTACKED" ],
"fear_triggers": [ "FIRE" ]
}
]