achievements but fat

This commit is contained in:
Metis
2024-10-16 14:46:54 -04:00
parent f0e5bd1acc
commit 58b055dbad
4 changed files with 76 additions and 0 deletions
@@ -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
+19
View File
@@ -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)
+10
View File
@@ -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"
+1
View File
@@ -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"