Lockable doors.

git-svn-id: svn+ssh://svn.code.sf.net/p/crossfire/code/arch/trunk@17959 282e977c-c81d-0410-88c4-b93c2d0d6712
master
ryo_saeba 2012-04-15 10:19:28 +00:00
parent 1734cb08fb
commit 7eabc092d2
8 changed files with 93 additions and 0 deletions

View File

@ -0,0 +1,35 @@
Object lockable_hdoor
name unlocked door
move_block none
face unlocked_hwooddoor.111
hp 400
exp 1
ac 20
type 20
material 2
no_pick 1
level 1
lockable 1
other_arch lockable_hdoor_locked
msg
This door is locked.
endmsg
end
Object lockable_hdoor_locked
name locked door
face locked_hwooddoor.111
hp 400
exp 1
ac 20
move_block all
alive 1
type 20
material 2
no_pick 1
level 1
lockable 1
other_arch lockable_hdoor
msg
This door is locked.
endmsg
end

View File

@ -0,0 +1,35 @@
Object lockable_vdoor
name unlocked door
move_block none
face unlocked_vwooddoor.111
hp 400
exp 1
ac 20
type 20
material 2
no_pick 1
level 1
lockable 1
other_arch lockable_vdoor_locked
msg
This door is locked.
endmsg
end
Object lockable_vdoor_locked
name locked door
face locked_vwooddoor.111
hp 400
exp 1
ac 20
move_block all
alive 1
type 20
material 2
no_pick 1
level 1
lockable 1
other_arch lockable_vdoor
msg
This door is locked.
endmsg
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

View File

@ -0,0 +1,20 @@
Object locking_key
race keys
face key1.111
material 2
value 10
weight 10
name locking key
name_pl locking keys
client_type 801
randomitems locking_key
end
Object locking_key_apply
face event_apply.111
type 116
subtype 1
invisible 1
no_drop 1
title Python
slaying /python/items/lockable_doors.py
end

View File

@ -0,0 +1,3 @@
treasure locking_key
arch locking_key_apply
end

Binary file not shown.

After

Width:  |  Height:  |  Size: 373 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B