0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 15:50:42 -05:00
agavalda a9d76021bc
Allow to set reputation as decimal in TraderCommand (#994)
Since the reputation levels are expressed as decimals i found it weird
that you can only set integers. This PR changes the way the reputation
is set:
`spt trader prapor rep 44` won't set 44 to the reputation (which is way
higher than anyone can get) but 0.44, this allows to test loyalty levels
more granular:

![image](https://github.com/user-attachments/assets/4e706f63-2d25-4f4c-9501-e6379174dc16)

![image](https://github.com/user-attachments/assets/61edb0f7-fc0b-4e7c-869f-09a30efa50dc)

Updating the regex and then testing that only decimals are used for
`rep` and not for `spend` looked to messy.

PS: This is my first PR here :)
2024-12-23 20:52:46 +00:00
..
2024-12-23 16:46:48 +00:00
2024-12-16 22:12:30 +00:00
2024-05-07 13:37:01 -04:00
2024-07-23 11:12:53 -04:00
2024-12-06 16:25:44 +00:00
2024-12-07 13:50:09 -05:00
2024-12-16 22:12:30 +00:00
2024-07-23 11:12:53 -04:00
2024-07-23 11:12:53 -04:00
2024-07-23 11:12:53 -04:00
2023-11-16 21:42:06 +00:00
2024-12-16 22:12:30 +00:00