New item: magic pet's whistle.

Why this item:
    In some cases pets may get angry at their owner and attack him.
    This whistle intends to give the player a chance to make his pets friendly again.
    This won't prevent the pet from getting angry again for whatever reason, which
    is ok.

Including: archetype, image, treasure list (for the whistle inventory to work 
           properly), python script which makes the "real work".

Hope to add a map soon to make this available to the players.

A    maps/trunk/python/items/magic_whistle.py
A    arch/trunk/misc/magic_whistle.trs
A    arch/trunk/misc/magic_whistle.arc
AM   arch/trunk/misc/magic_whistle.base.111.png


git-svn-id: svn+ssh://svn.code.sf.net/p/crossfire/code/arch/trunk@18827 282e977c-c81d-0410-88c4-b93c2d0d6712
master
kstenger 2013-07-23 18:56:37 +00:00
parent 06f9b7fc87
commit a2db74bff3
3 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,14 @@
Object magic_whistle
name magic pet's whistle
face magic_whistle.111
type 9
weight 1100
identified 1
randomitems magic_whistle
end
Object magic_whistle_event
type 116
subtype 1
title Python
slaying /python/items/magic_pets_whistle.py
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@ -0,0 +1,3 @@
treasure magic_whistle
arch magic_whistle_event
end