Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[feature]I made some dumb item suicides
#1
https://github.com/goonstation/goonstati...sillycides

Diff I guess

https://github.com/goonstation/goonstati...cides.diff

Crowbar is a half life joke, Multitool is a bad pun.

I have no idea what I'm doing, so this could be a terrible patch.

Also I pretty much just copied and pasted the screw driver code, so the damage values are probably wrong somehow.
Reply
#2
I'm making some small changes to the messages and thought you might wanna know what they are and why!

Code:
user.visible_message("<span style=\"color:red\"><b>[user] beats /his in the head with a crowbar, like some kind of suicidal theoretical physicist.</b></span>")
VS
Code:
user.visible_message("<span style='color:red'><b>[user] beats [him_or_her(user)]self in the head with a crowbar, like some kind of suicidal theoretical physicist.</b></span>")

The built in \his macro (the direction of the slash is important: /his wouldn't work) doesn't know you want to use "him/her/themself" here, and is kinda iffy on how well it works (sometimes it likes to be confused about which thing you want the gender of - though this message would probably be fine).  him_or_her() and his_or_her() are more reliable since you tell it exactly who's gender you want.

Not a big deal, just an FYI.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)