[CF-Devel] Stealing Idea + simple patch

crossfire-devel-admin at archives.real-time.com crossfire-devel-admin at archives.real-time.com
Tue Aug 26 12:11:40 CDT 2003


Here are the changes I have so far.  Changes against 1.5.0

Most of it is working ok.  I still have to work on adding a force to the 
player to lock them out of the store for a period of time.  

Also there is a BUG that I'm not sure how to fix.  When the player is thrown 
out of the store, the UNPAID objects are dropped.  The problem I have is that 
the items still appear in the player inventory afterwards. 

Here is what I have so far.
I'm trying attachments, but not sure if the mailing list will handle it.  
Please yell if this is a problem.

shopsteal.arc goes in arch/shop.
Also Copy a blank image to shopsteal.base.111.png in shop.

The following lines are an example of a stealing shop.  This is for the 
weaponshop in scorn with two punshments.

arch shopsteal 
hp 1
sp 13
slaying /scorn/shops/weaponshop
expmul 2.0  #difficulty
end
arch shopsteal
hp 14
sp 1
Wis 23  # for players above level 23, send them to jail 15 min
slaying /scorn/misc/jail
end



-------------- next part --------------
A non-text attachment was scrubbed...
Name: define.h.diff
Type: text/x-diff
Size: 46 bytes
Desc: not available
Url : 
     
     http://shadowknight.real-time.com/pipermail/crossfire/attachments/20030826/ee5f398e/define.h.bin
     
     
-------------- next part --------------
A non-text attachment was scrubbed...
Name: skills.c.diff
Type: text/x-diff
Size: 3213 bytes
Desc: not available
Url : 
     
     http://shadowknight.real-time.com/pipermail/crossfire/attachments/20030826/ee5f398e/skills.c.bin
     
     
-------------- next part --------------
Object shopsteal
name shopsteal
face shopsteal.111
Wis 0
expmul 1.0
invisible 1
no_pick 1
type 160
end
    
    


More information about the crossfire mailing list