Files
Bubberstation/code/datums/quirks/positive_quirks/settler.dm
Waterpig bb70889f6e TG Upstream Part 1
3591 individual conflicts

Update build.js

Update install_node.sh

Update byond.js

oh my fucking god

hat

slow

huh

holy shit

we all fall down

2 more I missed

2900 individual conflicts

2700 Individual conflicts

replaces yarn file with tg version, bumping us down to 2200-ish

Down to 2000 individual conflicts

140 down

mmm

aaaaaaaaaaaaaaaaaaa

not yt

575

soon

900 individual conflicts

600 individual conflicts, 121 file conflicts

im not okay

160 across 19 files

29 in 4 files

0 conflicts, compiletime fix time

some minor incap stuff

missed ticks

weird dupe definition stuff

missed ticks 2

incap fixes

undefs and pie fix

Radio update and some extra minor stuff

returns a single override

no more dupe definitions, 175 compiletime errors

Unticked file fix

sound and emote stuff

honk and more radio stuff
2024-10-19 08:04:33 -07:00

48 lines
2.4 KiB
Plaintext

/datum/quirk/item_quirk/settler
name = "Settler"
desc = "You are from a lineage of the earliest space settlers! While your family's generational exposure to varying gravity \
has resulted in a ... smaller height than is typical for your species, you make up for it by being much better at outdoorsmanship and \
carrying heavy equipment. You also get along great with animals. However, you are a bit on the slow side due to your small legs."
gain_text = span_bold("You feel like the world is your oyster!")
lose_text = span_danger("You think you might stay home today.")
icon = FA_ICON_HOUSE
value = 4
mob_trait = TRAIT_SETTLER
quirk_flags = QUIRK_HUMAN_ONLY|QUIRK_CHANGES_APPEARANCE
medical_record_text = "Patient has been exposed to planetary conditions for extended periods, resulting in an excessively stout build."
mail_goodies = list(
/obj/item/clothing/shoes/workboots/mining,
/obj/item/gps,
)
/// Most of the behavior of settler is from these traits, rather than exclusively the quirk
var/list/settler_traits = list(
TRAIT_EXPERT_FISHER,
TRAIT_ROUGHRIDER,
TRAIT_STUBBY_BODY,
TRAIT_BEAST_EMPATHY,
TRAIT_STURDY_FRAME,
)
/datum/quirk/item_quirk/settler/add(client/client_source)
var/mob/living/carbon/human/human_quirkholder = quirk_holder
//SKYRAT EDIT BEGIN - This is so Teshari don't get the height decrease.
if(!isteshari(human_quirkholder))
human_quirkholder.set_mob_height(HUMAN_HEIGHT_SHORTEST)
//SKYRAT EDIT END
human_quirkholder.add_movespeed_modifier(/datum/movespeed_modifier/settler)
human_quirkholder.physiology.hunger_mod *= 0.5 //good for you, shortass, you don't get hungry nearly as often
human_quirkholder.add_traits(settler_traits, QUIRK_TRAIT)
/datum/quirk/item_quirk/settler/add_unique(client/client_source)
give_item_to_holder(/obj/item/storage/box/papersack/wheat, list(LOCATION_BACKPACK = ITEM_SLOT_BACKPACK, LOCATION_HANDS = ITEM_SLOT_HANDS))
give_item_to_holder(/obj/item/storage/toolbox/fishing/small, list(LOCATION_BACKPACK = ITEM_SLOT_BACKPACK, LOCATION_HANDS = ITEM_SLOT_HANDS))
/datum/quirk/item_quirk/settler/remove()
if(QDELING(quirk_holder))
return
var/mob/living/carbon/human/human_quirkholder = quirk_holder
human_quirkholder.set_mob_height(HUMAN_HEIGHT_MEDIUM)
human_quirkholder.remove_movespeed_modifier(/datum/movespeed_modifier/settler)
human_quirkholder.physiology.hunger_mod *= 2
human_quirkholder.remove_traits(settler_traits, QUIRK_TRAIT)