diff --git a/GainStation13/code/datums/achievements/fat.dm b/GainStation13/code/datums/achievements/fat.dm new file mode 100644 index 0000000000..701920e96e --- /dev/null +++ b/GainStation13/code/datums/achievements/fat.dm @@ -0,0 +1,46 @@ + +/datum/award/achievement/fat + category = "Gluttony" + icon = "basemisc" + +//chemistry + +/datum/award/achievement/fat/blob + name = "Become a blob" + desc = "You've gotten fat enough to become a blob!" + database_id = GLUTTONY_BLOB + +/datum/award/achievement/fat/milestone_one + name = "Fatness Milestone One" + desc = "Reach a BFI level of 10,000!" + database_id = GLUTTONY_MILESTONE_ONE + +/datum/award/achievement/fat/milestone_two + name = "Fatness Milestone One" + desc = "Reach a BFI level of 25,000!" + database_id = GLUTTONY_MILESTONE_TWO + +/datum/award/achievement/fat/milestone_three + name = "Fatness Milestone Three" + desc = "Reach a BFI level of 50,000!" + database_id = GLUTTONY_MILESTONE_THREE + +/datum/award/achievement/fat/milestone_four + name = "Fatness Milestone Four" + desc = "Reach a BFI level of 100,000!" + database_id = GLUTTONY_MILESTONE_FOUR + +/datum/award/achievement/fat/milestone_five + name = "Fatness Milestone Five" + desc = "Reach a BFI level of 500,000!" + database_id = GLUTTONY_MILESTONE_FIVE + +/datum/award/achievement/fat/milestone_six + name = "Fatness Milestone Six" + desc = "Reach a BFI level of 1,000,000!" + database_id = GLUTTONY_MILESTONE_SIX + +/datum/award/achievement/fat/milestone_seven + name = "Fatness Milestone Seven" + desc = "Reach a BFI level of 10,000,000!" + database_id = GLUTTONY_MILESTONE_SEVEN diff --git a/GainStation13/code/mechanics/fatness.dm b/GainStation13/code/mechanics/fatness.dm index 6c1f844b03..7fa93cf05c 100644 --- a/GainStation13/code/mechanics/fatness.dm +++ b/GainStation13/code/mechanics/fatness.dm @@ -60,6 +60,25 @@ GLOBAL_LIST_INIT(uncapped_resize_areas, list(/area/command/bridge, /area/mainten perma_apply() //Check and apply for permanent fat xwg_resize() //Apply XWG + // Handle Awards + if(client) + if(fatness > FATNESS_LEVEL_BLOB) + client.give_award(/datum/award/achievement/fat/blob, H) + if(fatness > 10000) + client.give_award(/datum/award/achievement/fat/milestone_one, H) + if(fatness > 25000) + client.give_award(/datum/award/achievement/fat/milestone_two, H) + if(fatness > 50000) + client.give_award(/datum/award/achievement/fat/milestone_three, H) + if(fatness > 100000) + client.give_award(/datum/award/achievement/fat/milestone_four, H) + if(fatness > 500000) + client.give_award(/datum/award/achievement/fat/milestone_five, H) + if(fatness > 1000000) + client.give_award(/datum/award/achievement/fat/milestone_six, H) + if(fatness > 10000000) + client.give_award(/datum/award/achievement/fat/milestone_seven, H) + return TRUE /mob/living/carbon/fully_heal(admin_revive) diff --git a/code/__DEFINES/achievements.dm b/code/__DEFINES/achievements.dm index 0cbba32b96..95eae45f1d 100644 --- a/code/__DEFINES/achievements.dm +++ b/code/__DEFINES/achievements.dm @@ -126,3 +126,13 @@ #define CHEF_TOURISTS_SERVED "Tourists Served As Chef" #define BARTENDER_TOURISTS_SERVED "Tourists Served As Bartender" + +// GS13 ACHIEVEMENTS +#define GLUTTONY_BLOB "Blob" +#define GLUTTONY_MILESTONE_ONE "Gluttony Milestone One" +#define GLUTTONY_MILESTONE_TWO "Gluttony Milestone Two" +#define GLUTTONY_MILESTONE_THEE "Gluttony Milestone Three" +#define GLUTTONY_MILESTONE_FOUR "Gluttony Milestone Four" +#define GLUTTONY_MILESTONE_FIVE "Gluttony Milestone Five" +#define GLUTTONY_MILESTONE_SIX "Gluttony Milestone Six" +#define GLUTTONY_MILESTONE_SEVEN "Gluttony Milestone Seven" diff --git a/tgstation.dme b/tgstation.dme index d7fa134059..9a03dfd2cd 100644 --- a/tgstation.dme +++ b/tgstation.dme @@ -3917,6 +3917,7 @@ #include "GainStation13\code\datums\lavaland_ruins.dm" #include "GainStation13\code\datums\ruins.dm" #include "GainStation13\code\datums\traits.dm" +#include "GainStation13\code\datums\achievements\fat.dm" #include "GainStation13\code\datums\components\fattening_door.dm" #include "GainStation13\code\datums\components\crafting\recipes\recipes_misc_gs.dm" #include "GainStation13\code\datums\diseases\advance\presets.dm"