forked from MeteorsDetected/Old-World-Blues
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request MeteorsDetected#48 from animusdev/map
Map
- Loading branch information
Showing
8 changed files
with
15,699 additions
and
15,230 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// Contains: | ||
// Gavel Hammer | ||
// Gavel Block | ||
|
||
/obj/item/weapon/gavelhammer | ||
name = "gavel hammer" | ||
desc = "Order, order! No bombs in my courthouse." | ||
icon = 'icons/obj/items.dmi' | ||
icon_state = "gavelhammer" | ||
force = 5 | ||
throwforce = 6 | ||
w_class = ITEM_SIZE_NORMAL | ||
attack_verb = list("bashed", "battered", "judged", "whacked") | ||
|
||
/obj/item/weapon/gavelhammer/suicide_act(mob/user) | ||
user.visible_message("<span class='danger'>[user] has sentenced \himself to death with \the [src]! It looks like \he's trying to commit suicide.</span>") | ||
playsound(loc, 'sound/items/gavel.ogg', 50, 1, -1) | ||
return BRUTELOSS | ||
|
||
/obj/item/weapon/gavelblock | ||
name = "gavel block" | ||
desc = "Smack it with a gavel hammer when the assistants get rowdy." | ||
icon = 'icons/obj/items.dmi' | ||
icon_state = "gavelblock" | ||
force = 2 | ||
throwforce = 2 | ||
w_class = ITEM_SIZE_NORMAL | ||
var/cooldown = 0 | ||
|
||
/obj/item/weapon/gavelblock/attackby(obj/item/I, mob/user, params) | ||
if(istype(I, /obj/item/weapon/gavelhammer)) | ||
if(cooldown < world.time - 8) | ||
playsound(loc, 'sound/items/gavel.ogg', 100, 1) | ||
user.visible_message("<span class='warning'>[user] strikes \the [src] with \the [I].</span>") | ||
cooldown = world.time | ||
return 1 | ||
return ..() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.