Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Feature] Brewable burritos and snack cakes
#1
What this patch does:
  • Enables individuals to brew discount dan burritos and snack cakes using the barman's portable still. 
  • Establishes an easily extensible framework for expansion to other future dan items
  • Not create an infinite burrito loop like the first version of the patch did
  • Be incredibly gross

Known compatibility issues:
None except for weak stomachs.

How to expand to other dan products:

Include something akin to the following underneath the product:

Code:
brewable = 1
brew_result = list("sewage", "ethanol")

Then just add the product's path to this:

Code:
if (istype(W,/obj/item/reagent_containers/food/snacks/snack_cake) || istype(W,/obj/item/reagent_containers/food/snacks/burrito))

Compare: https://github.com/goonstation/goonstati...e-burritos

Patch: https://github.com/goonstation/goonstati...itos.patch
Reply


Messages In This Thread
[Feature] Brewable burritos and snack cakes - by Noah Buttes - 03-23-2017, 06:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)