Crossfire Server, Trunk
curse_on_apply.py
Go to the documentation of this file.
1
import
Crossfire
2
3
me = Crossfire.WhoAmI()
4
ac = Crossfire.WhoIsActivator()
5
6
# Since this checks before equipping actually occurs, Applied will be 0 when we apply
7
if
me.Applied == 0
and
ac.Type == Crossfire.Type.PLAYER:
8
ac.Write(
"You feel the "
+me.Name+
" bind to you."
)
9
me.Cursed = 1
10
me.KnownCursed = 1
crossfire-crossfire-maps
python
items
curse_on_apply.py
Generated by
1.8.17