define the skeleton of the battle royale game

This commit is contained in:
andrea
2025-07-23 19:54:39 +02:00
parent 86c7f7ae48
commit 0694ae0cae
4 changed files with 126 additions and 0 deletions

33
entities/weapon_syms.py Normal file
View File

@@ -0,0 +1,33 @@
KNIFE= 1
GUN= 2
BOMB= 3
SHORT_RANGE= 1
FAR_RANGE= 2
WEAPONS= {
KNIFE: {
'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,
},
GUN: {
'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,
},
BOMB: {
'weight': 2,
'name': 'bomb',
'damage': 10,
'miss_chance': 5, # from 0 to 100, this is the probably to miss the hit
'ammons': 1,
'range': FAR_RANGE,
},
}