From 022b64897956d72173fca7f4ec428c81c3778a70 Mon Sep 17 00:00:00 2001
From: Trilbyspaceclone <30435998+Trilbyspaceclone@users.noreply.github.com>
Date: Fri, 7 Jun 2019 18:35:52 -0400
Subject: [PATCH] Update granters.dm
---
code/game/objects/items/granters.dm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/code/game/objects/items/granters.dm b/code/game/objects/items/granters.dm
index 8d0d8d020e..34ce6bc521 100644
--- a/code/game/objects/items/granters.dm
+++ b/code/game/objects/items/granters.dm
@@ -87,6 +87,33 @@
active = FALSE
UpdateButtonIcon()
+/obj/item/book/granter/action/origami
+ granted_action = /datum/action/innate/origami
+ name = "The Art of Origami"
+ desc = "A meticulously in-depth manual explaining the art of paper folding."
+ icon_state = "origamibook"
+ actionname = "origami"
+ oneuse = TRUE
+ remarks = list("Dead-stick stability...", "Symmetry seems to play a rather large factor...", "Accounting for crosswinds... really?", "Drag coefficients of various paper types...", "Thrust to weight ratios?", "Positive dihedral angle?", "Center of gravity forward of the center of lift...")
+
+/datum/action/innate/origami
+ name = "Origami Folding"
+ desc = "Toggles your ability to fold and catch robust paper airplanes."
+ button_icon_state = "origami_off"
+ check_flags = NONE
+
+/datum/action/innate/origami/Activate()
+ to_chat(owner, "You will now fold origami planes.")
+ button_icon_state = "origami_on"
+ active = TRUE
+ UpdateButtonIcon()
+
+/datum/action/innate/origami/Deactivate()
+ to_chat(owner, "You will no longer fold origami planes.")
+ button_icon_state = "origami_off"
+ active = FALSE
+ UpdateButtonIcon()
+
///SPELLS///
/obj/item/book/granter/spell