mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-21 19:17:50 +01:00
Merge pull request #10700 from datlo/bookforce
Add force to books, extra to space law
This commit is contained in:
@@ -167,8 +167,9 @@
|
||||
icon_state ="book"
|
||||
throw_speed = 1
|
||||
throw_range = 5
|
||||
force = 2
|
||||
w_class = WEIGHT_CLASS_NORMAL //upped to three because books are, y'know, pretty big. (and you could hide them inside eachother recursively forever)
|
||||
attack_verb = list("bashed", "whacked", "educated")
|
||||
attack_verb = list("bashed", "whacked")
|
||||
burn_state = FLAMMABLE
|
||||
|
||||
var/dat // Actual page content
|
||||
@@ -283,6 +284,14 @@
|
||||
else
|
||||
return ..()
|
||||
|
||||
/obj/item/book/attack(mob/M, mob/living/user)
|
||||
if(user.a_intent == INTENT_HELP)
|
||||
force = 0
|
||||
attack_verb = list("educated")
|
||||
else
|
||||
force = initial(force)
|
||||
attack_verb = list("bashed", "whacked")
|
||||
..()
|
||||
|
||||
/*
|
||||
* Barcode Scanner
|
||||
|
||||
Reference in New Issue
Block a user