Get dogged!
This commit is contained in:
parent
feb1af4659
commit
be2b4f7dfe
2 changed files with 46 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
||||||
?>$/+meowingVolume >> 20\? | (
|
?>$/+meowingVolume >> 20\? | (
|
||||||
¡<=/"MEOW!!!"\!;
|
¡<=/"MEOW!!!"\!;
|
||||||
)
|
)
|
||||||
>?/ \? | (
|
>?/\? | (
|
||||||
!<=/"Error: weird as fuck meowing volume."\!;
|
!<=/"Error: weird as fuck meowing volume."\!;
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
@ -0,0 +1,45 @@
|
||||||
|
&& import via &=>
|
||||||
|
¡&=> "animal.sm"!
|
||||||
|
|
||||||
|
&& inherit via :::
|
||||||
|
++dog:::animal (
|
||||||
|
¡+}}float{{ barkVolume!;
|
||||||
|
|
||||||
|
### /}}string{{ name\ /}}float{{ speed\ /}}float{{ barkVolume\ | (
|
||||||
|
&& ## calls the super
|
||||||
|
¡##/name, speed\!;
|
||||||
|
¡+barkVolume < barkVolume!;
|
||||||
|
)
|
||||||
|
|
||||||
|
+#meow /\ | (
|
||||||
|
¿??€/+barkVolume >> 0\? | (
|
||||||
|
¡<=/"*silence*"!;
|
||||||
|
)
|
||||||
|
?>$/+barkVolume >> 0\? | (
|
||||||
|
¡<=/"bak"\!;
|
||||||
|
)
|
||||||
|
?>$/+barkVolume >> 2\? | (
|
||||||
|
¡<=/"bark"\!;
|
||||||
|
)
|
||||||
|
?>$/+barkVolume >> 5\? | (
|
||||||
|
¡<=/"Bark."\!;
|
||||||
|
)
|
||||||
|
?>$/+barkVolume >> 10\? | (
|
||||||
|
¡<=/"Bark!!"\!;
|
||||||
|
)
|
||||||
|
?>$/+barkVolume >> 20\? | (
|
||||||
|
¡<=/"BARK!!!"\!;
|
||||||
|
)
|
||||||
|
>?/\? | (
|
||||||
|
!<=/"Error: weird as fuck bark volume."\!;
|
||||||
|
)
|
||||||
|
)
|
||||||
|
+#pissOnFloor /}}bool{{ needsToGo\ | (
|
||||||
|
¿??€/needsToGo true\ | (
|
||||||
|
¡<= "The dog pissed on the floor!"!;
|
||||||
|
)
|
||||||
|
>?/\? | (
|
||||||
|
¡<= "The dog didn't piss on the floor!"!;
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
Loading…
Reference in a new issue