Newton's Thirdish Law (#2714)

Items falling now deal a set amount of damage based on velocity calculations, with no more randomisation. This damage is randomly distributed throughout the head and torso by first calculating the damage dealt to the head - anywhere between zero and 1/2th of total damage, and then calculating the damage to the torso - head damage subtracted from total damage.
This commit is contained in:
LordFowl
2017-06-15 12:38:01 +03:00
committed by skull132
parent 3664d5e674
commit 08219273d3
2 changed files with 73 additions and 37 deletions
+2
View File
@@ -11,6 +11,7 @@
icon_state = "minimoog"
anchored = 1
density = 1
w_class = 5
var/datum/song/song
var/playing = 0
var/help = 0
@@ -26,6 +27,7 @@
name = "space piano"
desc = "This is a space piano, like a regular piano, but always in tune! Even if the musician isn't."
icon_state = "piano"
w_class = 15
/obj/structure/device/piano/proc/playnote(var/note as text)
//world << "Note: [note]"