mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
Makes corncobs produce seeds (#77944)
## About The Pull Request This adds a new type of corncob for snapcorn and makes both types produce their respective seeds when used in a seed extractor or portable seed extractor. ## Why It's Good For The Game No more using corncobs on the extractor for the message but not getting any seeds.   ## Changelog 🆑 fix: fixed corn cobs not making seeds and lying to you in the text box. /🆑 --------- Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
This commit is contained in:
co-authored by
MrMelbert
parent
6d4d1affb3
commit
e06654ca21
@@ -36,6 +36,7 @@
|
||||
AddElement(/datum/element/microwavable, /obj/item/food/popcorn)
|
||||
|
||||
/obj/item/grown/corncob
|
||||
seed = /obj/item/seeds/corn
|
||||
name = "corn cob"
|
||||
desc = "A reminder of meals gone by."
|
||||
icon_state = "corncob"
|
||||
@@ -89,5 +90,10 @@
|
||||
user.put_in_hands(S)
|
||||
snap_pops -= 1
|
||||
if(!snap_pops)
|
||||
new /obj/item/grown/corncob(user.loc)
|
||||
new /obj/item/grown/corncob/snap(user.loc)
|
||||
qdel(src)
|
||||
|
||||
/obj/item/grown/corncob/snap
|
||||
seed = /obj/item/seeds/corn/snapcorn
|
||||
name = "snap corn cob"
|
||||
desc = "A reminder of pranks gone by."
|
||||
|
||||
Reference in New Issue
Block a user