Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Commit

Permalink
ну кейк бля (#201)
Browse files Browse the repository at this point in the history
* ну кейк бля

* господи блять я не ненавижу гит, сука хуле ты мне срешь
modified:   code/modules/economy/cash.dm
  • Loading branch information
Evie7056 authored Jul 8, 2023
1 parent d117c96 commit 4264951
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
31 changes: 24 additions & 7 deletions code/modules/economy/cash.dm
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,28 @@
var/worth = 0
var/static/denominations = list(1000,500,200,100,50,20,10,1)

volume = 1
nutriment_amt = 1
bitesize = 3
volume = 1000
nutriment_amt = 1
nutriment_desc = list(
"Jewrenium" = 1
"dirty dollar" = 2,
"liquified money" = 2,
"1% of life" = 2,
"Trasen's balls" = 1,
"communists' anger" = 1
)

/obj/item/reagent_containers/food/snacks/spacecash/Initialize()
.=..()
reagents.add_reagent(/datum/reagent/tricordrazine/jew, worth)

/obj/item/reagent_containers/food/snacks/spacecash/attack(mob/M as mob, mob/user as mob, def_zone)
.=..()
worth = round(worth - bitesize)
reagents.del_reagent(/datum/reagent/tricordrazine/jew)
reagents.add_reagent(/datum/reagent/tricordrazine/jew, worth)
update_icon()

/obj/item/reagent_containers/food/snacks/spacecash/standard_feed_mob(var/mob/user, var/mob/target)
if(user.a_intent == I_HELP)
return
Expand All @@ -40,14 +55,16 @@
var/obj/item/reagent_containers/food/snacks/spacecash/cash = W
bundle = new (src.loc)
bundle.worth += cash.worth
bundle.volume = cash.worth
bundle.nutriment_amt = cash.volume
bundle.nutriment_amt = cash.worth
bundle.reagents.del_reagent(/datum/reagent/tricordrazine/jew)
bundle.reagents.add_reagent(/datum/reagent/tricordrazine/jew, bundle.worth)
qdel(cash)
else //is bundle
bundle = W
bundle.worth += src.worth
bundle.volume = bundle.worth
bundle.nutriment_amt = bundle.volume
bundle.nutriment_amt = bundle.worth
bundle.reagents.del_reagent(/datum/reagent/tricordrazine/jew)
bundle.reagents.add_reagent(/datum/reagent/tricordrazine/jew, bundle.worth)
bundle.update_icon()
if(istype(user, /mob/living/carbon/human))
var/mob/living/carbon/human/h_user = user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1062,4 +1062,5 @@
//Syndies are fine tho
if((H.char_branch.name != "Free Trade Union") && (H.char_branch.name != "Consortium of Trans-Star Corporations"))
return
M.heal_organ_damage(4 * removed, 4 * removed) //Slightly buffed tric. Might be Excessive.
M.heal_organ_damage(2 * removed, 2 * removed) //Slightly buffed tric. Might be Excessive.
//Fuck the buffs, t0o op

0 comments on commit 4264951

Please sign in to comment.