<command name="stab wrong tires cmd">
<pattern>stab #text# with #text#</pattern>
<script>
msg ("Stabbing something like that with that doesn't achieve the desired effect.")
<command name="stab tires cmd">
<pattern>stab tires with stout knife; stab red car tires with stout blade; stab red tires with stout; stab red cars tire with stout blade; stab red cars tires with stout blade; stab tires with stout; stab red car tires with stout; stab red tires with stout; stab red cars tire with stout; stab red cars tires with stout; stab tires with blade; stab red car tires with blade; stab red tires with blade; stab red cars tire with blade; stab red cars tires with blade</pattern>
<script>
if (Got(stout blade)) {
msg ("You plunge the blade into the back driver's side tire and an angry hiss escapes. Pleased with your work, you jab the other three as well. On the fourth tire, the blade snaps. Oh well... tires and knife destroyed.")
SetObjectFlagOn (red car, "disabled")
panel.VehiclesDisabledCount = panel.VehiclesDisabledCount - 1
RemoveObject (stout blade)
}
else {
msg ("You are not carrying the right blade to do that. Right idea though.")
}
</script>
</command>
stab #object1# with #object2#
<command name="stab tires cmd">
<pattern>stab #object1# with #object2#;slash #object1# with #object2#;puncture #object1# with #object2#</pattern>
<script>
if (object1 = red car tire) {
if (object2 = stout blade) {
msg ("You plunge the blade into the back driver's side tire and an angry hiss escapes. Pleased with your work, you jab the other three as well. On the fourth tire, the blade snaps. Oh well... tires and knife destroyed.")
SetObjectFlagOn (red car, "disabled")
panel.VehiclesDisabledCount = panel.VehiclesDisabledCount - 1
RemoveObject (stout blade)
}
else {
msg ("You are not carrying the right blade to do that. Right idea though.")
}
}
else {
msg("Stabbing something like that with that doesn't achieve the desired effect.")
}
</script>
</command>
> stab tire with knife
The tire hisses.
> stab flowers with knife
You can't stab them.