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
41 changes: 41 additions & 0 deletions data/mods/Magiclysm/Spells/lizardfolk_shaman.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[
{
"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 a crocodile!",
"effect": "summon",
"effect_str": "mon_crocodile"
},
{
"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": "druid_veggrasp" },
{ "id": "druid_veggrasp" },
{ "id": "druid_veggrasp" },
{ "id": "druid_veggrasp" },
{ "id": "light_healing", "self": true },
{ "id": "light_healing", "self": true },
{ "id": "light_healing", "self": true },
{ "id": "spell_summon_crocodile" }
]
}
]
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 }
]
}
]
57 changes: 57 additions & 0 deletions data/mods/Magiclysm/items/weapons.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
[
{
"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, it's a very effective weapon in the hands of a strong opponent.",
"weight": "10 kg",
"volume": "8 L",
"price": 5000,
"flags": [ "UNBREAKABLE_MELEE", "ALWAYS_TWOHAND", "NO_PICKUP", "TRADER_AVOID", "SLOW_WIELD", "FIREWOOD", "NO_REPAIR" ],
"bashing": 22,
"to_hit": 1
},
{
"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": "3 L",
"cutting": 29,
"flags": [ "SPEAR", "REACH_ATTACK", "NONCONDUCTIVE", "DURABLE_MELEE", "SHEATH_SPEAR" ],
"price": 15000
},
{
"id": "lizardfolk_javelin",
"type": "GENERIC",
"name": "barbed javelin",
"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": "This weapon measures about 3 feet in length and is fletched like an arrow for better accuracy. The business end of the javelin has wicked-looking barbs which could cause significant bleeding.",
"weight": "2500 g",
"volume": "2830 ml",
"flags": [ "SPEAR", "SHEATH_SPEAR", "JAVELIN", "TRADER_AVOID", "BLEED", "NO_REPAIR" ]
},
{
"id": "lizardfolk_javelin_gun",
"type": "GUN",
"copy-from": "fake_item",
"name": "barbed javelin",
"description": "Fake gun that fires barbed javelins.",
"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 } ]
}
]
30 changes: 30 additions & 0 deletions data/mods/Magiclysm/monster_attacks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[
{
"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 %2$s with its trident!",
"hit_dmg_npc": "The %1$s impales <npcname>'s %2$s with its trident!",
"no_dmg_msg_u": "The %1$s tries to impale your %2$s with its trident, but fails to penetrate your armor!",
"no_dmg_msg_npc": "The %1$s tries to impale <npcname>'s %2$s with its trident, but fails to penetrate their armor!"
},
{
"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 your %2$s with its greatclub!",
"hit_dmg_npc": "The %1$s crushes <npcname>'s %2$s with its greatclub!",
"no_dmg_msg_u": "The %1$s tries to crush your %2$s with its greatclub, but swings wide and stumbles.",
"no_dmg_msg_npc": "The %1$s tries to crush <npcname>'s %2$s 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" ]
}
]
140 changes: 140 additions & 0 deletions data/mods/Magiclysm/monsters/lizardfolk.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
[
{
"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": "100 kg",
"hp": 70,
"speed": 105,
"material": [ "flesh" ],
"symbol": "L",
"color": "green",
"aggression": 80,
"morale": 80,
"vision_day": 10,
"vision_night": 20,
"melee_skill": 4,
"melee_dice": 2,
"melee_dice_sides": 4,
"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": "The hunter is a smaller lizardfolk than a warrior, but equally as deadly, with their lithe figures and accurate javelin throws.",
"copy-from": "mon_lizardfolk_warrior",
"symbol": "L",
"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 during 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": "L",
"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": {
"type": "item_group",
"subtype": "distribution",
"items": [
{ "group": "enchanted_small_items", "prob": 40 },
{ "group": "enchanted_melee_weapons_plus1", "prob": 20 },
{ "group": "enchanted_wands_lesser", "prob": 10 },
{ "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": "L",
"hp": 200,
"melee_skill": 4,
"melee_dice": 3,
"melee_dice_sides": 3,
"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" ]
}
]