added weighted random item drops based on player needs
This commit is contained in:
@@ -651,7 +651,7 @@ func pickup_apply(type,ammo_type,value):
|
||||
1: #STAMINA
|
||||
remaining_stamina = clamp(remaining_stamina + value,0,100)
|
||||
2: #HEALTH
|
||||
level_control.health += value
|
||||
level_control.health = clamp(level_control.health + value,0,level_control.start_health)
|
||||
3: #MONEY
|
||||
level_control.money += value
|
||||
|
||||
|
||||
Reference in New Issue
Block a user