Warzone2100/warzone2100

Inconsistent use of upper and lower case letters in stats and api.

Open

#1,794 opened on Apr 29, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)C++ (610 forks)auto 404
Buggood first issuewzapi

Repository metrics

Stars
 (3,886 stars)
PR merge metrics
 (PR metrics pending)

Description

data/base/stats/weapons.json:           "firePause": 7,
src/stats.cpp:              psStats->base.firePause = ini.value("firePause").toUInt();
src/wzapi.cpp:                      weap["FirePause"] = psStats->base.firePause;

This applies to almost all parameters. Attempting to change the styling within the engine will require changing all scripts.

There is a separate parameter thresholds it turns into RankThresholds

Contributor guide