Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update robofac_robots.json #52340

Merged
merged 1 commit into from
Oct 19, 2021
Merged

Conversation

linonetwo
Copy link
Contributor

@linonetwo linonetwo commented Oct 18, 2021

Summary

Content "Fix copied robot vision_night same as old one"

Purpose of change

Fix:

DEBUG : (json-error)
Json error: data/json/monsters/robofac_robots.json:49:20: cannot assign explicit value the same as default or inherited value

"death_function": { "corpse_type": "BROKEN" },
"vision_day": 50,
"vision_night":
               ^
                20,
"path_settings": { "max_dist": 50, "avoid_traps": true },
"flags": [

FUNCTION : void report_strict_violation(const JsonObject &, const std::string &, const std::string &)
FILE : src/assign.h
LINE : 49
VERSION : bbedf1d

Describe the solution

Delete the duplicate field

Describe alternatives you've considered

Or increase the value?

Testing

None...

Additional context

Latest game, error on start

 DEBUG    : (json-error)
Json error: data/json/monsters/robofac_robots.json:49:20: cannot assign explicit value the same as default or inherited value

    "death_function": { "corpse_type": "BROKEN" },
    "vision_day": 50,
    "vision_night":
                   ^
                    20,
    "path_settings": { "max_dist": 50, "avoid_traps": true },
    "flags": [


 FUNCTION : void report_strict_violation(const JsonObject &, const std::string &, const std::string &)
 FILE     : src/assign.h
 LINE     : 49
 VERSION  : bbedf1d
@Maleclypse Maleclypse added the <Bugfix> This is a fix for a bug (or closes open issue) label Oct 18, 2021
@kevingranade kevingranade merged commit e806a25 into CleverRaven:master Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bugfix> This is a fix for a bug (or closes open issue)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants