1
0
Files
battle_royale_sim/entities/items/syms.py

38 lines
844 B
Python
Raw Normal View History

2025-11-14 22:00:35 +01:00
MEDIKIT= 1
#FOOD= 2 #XXX not yet implemented, how to manage it?
#DRINK= 3 #XXX not yet implemented, how to manage it?
KNIFE= 4
ARCH= 5
SHORT_RANGE= 1
FAR_RANGE= 2
2025-11-14 22:00:35 +01:00
ITEMS= {
MEDIKIT: {
'is_weapon': False,
'weight': 0.5,
'name': 'medikit',
'description': 'useful tool to restore health',
'health': 1,
},
KNIFE: {
2025-11-14 22:00:35 +01:00
'is_weapon': True,
'weight': 1,
'name': 'knife',
'damage': 3,
'miss_chance': 0, # from 0 to 100, this is the probably to miss the hit
'ammons': -1, # -1, no limit
'range': SHORT_RANGE,
},
2025-07-26 23:10:51 +02:00
ARCH: {
2025-11-14 22:00:35 +01:00
'is_weapon': True,
'weight': 2,
'name': 'gun',
'damage': 3,
'miss_chance': 20, # from 0 to 100, this is the probably to miss the hit
'ammons': 10, # -1, no limit
'range': FAR_RANGE,
},
}