Skip to content

Commit

Permalink
add steam id to mods
Browse files Browse the repository at this point in the history
  • Loading branch information
KorGgenT committed Jan 18, 2024
1 parent 89b32d3 commit 68e4795
Show file tree
Hide file tree
Showing 49 changed files with 52 additions and 0 deletions.
1 change: 1 addition & 0 deletions data/mods/Aftershock/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"maintainers": [ "Maleclypse", "Candlebury", "Mom_Bun", "Drew4484" ],
"description": "Moving towards a survival horror full conversion mod set in a mostly abandoned extrasolar colony far from Earth hundreds of years from today.",
"category": "content",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/Backrooms/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"description": "A strange place between dimensions traps you. Can you survive among endless halls of yellowed carpet and harshly humming fluorescents?\n\nReplaces all normal worldgen: no wilderness, no rivers, no cities, no farms, no sky. Just endless, winding indoor halls of mildewy carpeting, faded drywall, desolate breakrooms and abandoned boardrooms.\n\nRecommended city size is 0. Play Now! (Default Scenario) is not supported.",
"category": "total_conversion",
"dependencies": [ "dda" ],
"steam_id": 0,
"version": "0.1"
}
]
1 change: 1 addition & 0 deletions data/mods/BlazeIndustries/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"description": "Introduces the fictional corporation Blaze Industries, bringing advanced vehicle modification to the consumer.",
"//": "Spiritual successor to blazemod, do not use together with the legacy blazemod unless you know what you are doing.",
"category": "content",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/CRT_EXPANSION/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"description": "Adds a plethora of content: professions, guns/mods/weapons, WIP mobs, mutations, MA styles, and some QOL innawoods changes. Use the readme to see more details!",
"category": "content",
"obsolete": true,
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/CrazyCataclysm/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"authors": [ "Kevin" ],
"description": "Want a little crazy in your Cataclysm? Try this one.",
"category": "misc_additions",
"steam_id": 0,
"dependencies": [ "dda" ]
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/Dark-Skies-Above/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"description": "A total conversion that shifts the Cataclysm towards an alien occupation survival scenario. THIS MOD WILL BREAK INTENDED FUNCTIONALITY OF OTHER MODS! USE OTHER MODS AT YOUR OWN RISK.",
"category": "total_conversion",
"obsolete": true,
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/DinoMod/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"maintainers": [ "ephemeralstoryteller", "damien", "LyleSy" ],
"description": "Adds dinosaurs. Some rideable, others less friendly. Life will find a way.",
"category": "creatures",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/Generic_Guns/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"maintainers": [ "Tonkatsu" ],
"description": "Replaces guns and ammo with generic types. Warning: can cause issues with other gun mods.",
"category": "items",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/Graphical_Overmap/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"description": "Gives the overmap a graphical overhaul. Please refer to readme for installation.",
"category": "graphical",
"obsolete": true,
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/Graphical_Overmap_Magiclysm/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"description": "Magiclysm support for Graphical Overmap.",
"category": "graphical",
"dependencies": [ "dda", "Graphical_Overmap", "magiclysm" ],
"steam_id": 0,
"obsolete": true
}
]
1 change: 1 addition & 0 deletions data/mods/MA/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"maintainers": [ "ZhilkinSerg" ],
"description": "Cataclysm in one state.",
"category": "total_conversion",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/MMA/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"maintainers": [ "Hymore246" ],
"description": "A collection of fictional, mythologically inspired or otherwise unrealistic martial arts.",
"category": "misc_additions",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/Magiclysm/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"maintainers": [ "KorGgenT" ],
"description": "Cataclysm but with magic spells!",
"category": "content",
"steam_id": 0,
"dependencies": [ "dda" ]
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/Megafauna/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"description": "Adds extinct pleistocene megafauna to the game, replacing modern day and introduced animals.",
"category": "creatures",
"dependencies": [ "dda" ],
"steam_id": 0,
"obsolete": false
}
]
1 change: 1 addition & 0 deletions data/mods/Military_Professions/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"description": "Numerous military themed professions",
"category": "rebalance",
"dependencies": [ "dda" ],
"steam_id": 0,
"obsolete": true
}
]
1 change: 1 addition & 0 deletions data/mods/My_Sweet_Cataclysm/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"authors": [ "Fris0uman" ],
"description": "In the wake of the Cataclysm, sweets and snacks are coming to life. You could be one of them and walk through the Cataclysm as a human shaped piece of sugar with your pet necco wafer, or you could just hunt them for some sweet treats.",
"category": "misc_additions",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/Mythos/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"description": "Removes all the zombies (including fungus zombies), cyborgs and robots from the game - a very work-in-progress start to a more Lovecraftian-focused version of Cataclysm set in the 1920s, with 99.9% of the population mysteriously disappearing at midnight of day 0. Players will take on the roles of investigators in a variety of professions battling the denizens of the shadows to recover and rebuild society.",
"category": "content",
"dependencies": [ "dda" ],
"steam_id": 0,
"version": "0.1"
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/No_Fungi/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"description": "Removes fungal monsters and regions from the game.",
"category": "monster_exclude",
"dependencies": [ "dda" ],
"steam_id": 0,
"obsolete": true
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/No_Hope/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"description": "- Significantly reduced amount of places with guaranteed loot spawns.\n- Loot spawn in buildings is drastically reduced, especially for food, tools, guns etc.\n- Most buildings are destroyed, vandalized, or looted.\n- Most cars are destroyed or at least damaged. Intact cars are nearly impossible to find.\n- Fuel is much harder to find, almost all cars have no fuel in tanks.\n- Marauders, looters, and bandits everywhere.\n\nSee extended description in README.md.\n\nTo get the mod author's intended playing experience, consider:\n- Enabling wandering hordes.\n- Setting item spawn scaling factor to 0.5 or lower.\n- Setting spawn rate scaling factor to 1.5 or higher.",
"category": "content",
"dependencies": [ "dda" ],
"steam_id": 0,
"version": "3.3"
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/No_NPC_Food/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"maintainers": [ "Coolthulhu" ],
"description": "Makes NPCs not require food, water or rest.",
"category": "rebalance",
"steam_id": 0,
"dependencies": [ "dda" ]
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/No_Rail_Stations/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"authors": [ "Inglonias" ],
"description": "Removes above-ground rail stations from the game.",
"category": "buildings",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/Only_Wildlife/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"authors": [ "Kodi Arfer" ],
"description": "Removes all monsters from the game, save for those in the WILDLIFE category.",
"category": "monster_exclude",
"steam_id": 0,
"dependencies": [ "dda" ]
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/Personal_Portal_Storms/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"maintainers": [ "BombasticSlacks" ],
"description": "Makes Portal Storm enemies only attack the player. Without this critical NPCs can die to Portal Storm enemies in very unfair ways. More work needs to be done on AI and faction base security before it will be safe to disable this.",
"category": "rebalance",
"steam_id": 0,
"dependencies": [ "dda" ]
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/Rummaging/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"description": "Some furniture containers need to open the door to scavenge, to enhance the thrill of scavenging.",
"category": "misc_additions",
"obsolete": true,
"steam_id": 0,
"dependencies": [ "dda" ]
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/Standard_Combat_Tests/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"maintainers": [ "Venera3" ],
"description": "A set of standard character loadouts to facilitate objective monster testing. Disables all but the test scenarios.",
"category": "misc",
"steam_id": 0,
"dependencies": [ "dda" ]
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/StatsThroughSkills/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"authors": [ "Ryan \"DeNarr\" Saige", "Kevin Granade" ],
"description": "Allows stats to raise via skill progression.",
"category": "rebalance",
"steam_id": 0,
"dependencies": [ "dda" ]
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/TEST_DATA/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"category": "content",
"//": "Not really obsolete! Marked as such to prevent it from showing in the main list",
"obsolete": true,
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/Tamable_Wildlife/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"maintainers": [ "Termineitor244" ],
"description": "Makes a lot of docile, but generally untamable wildlife, tamable.",
"category": "rebalance",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/TropiCataclysm/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"category": "content",
"dependencies": [ "dda" ],
"version": "0.80",
"steam_id": 0,
"obsolete": false
}
]
1 change: 1 addition & 0 deletions data/mods/Xedra_Evolved/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"maintainers": [ "Maleclypse" ],
"description": "A content mod for Agent Mulder in the apocalypse. Imagines what if Xedra had more time before the Cataclysm occurred. Contains monsters of various types, new professions and locations, new uses for existing skills plus the new deduction skill, new magic systems, and content of every type that a multidimensional Cataclysm has to offer. This is a heavily science fantasy mod where you are as likely to encounter supernatural monsters, as you are to encounter UFOs and Sasquatch and Chupacabra.",
"category": "content",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/aftershock_exoplanet/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"maintainers": [ "Maleclypse", "Candlebury", "Mom_Bun" ],
"description": "An experimental implementation of Aftershock's exoplanet region, not recommended for actual playthroughs. Adds no new content by itself, and requires the main mod to function correctly.",
"category": "total_conversion",
"steam_id": 0,
"dependencies": [ "dda", "aftershock" ]
}
]
1 change: 1 addition & 0 deletions data/mods/alt_map_key/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"authors": [ "Sunshine" ],
"description": "Changes the overmap to be more readable. Buildings are color coded by type and use initial letter of their names instead of ^v<>.",
"category": "misc_additions",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/cbm_slots/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"description": "Enables the bionic slots system, which limits the number of CBMs you can install in each bodypart.",
"category": "rebalance",
"dependencies": [ "dda" ],
"steam_id": 0,
"path": ""
}
]
1 change: 1 addition & 0 deletions data/mods/classic_zombies/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"maintainers": [ "I-am-Erk" ],
"description": "Turns the game into a classic Romero zombie game. You must destroy the brain. Getting bitten is fatal. However, zombies don't evolve, and when they're down, they're down. Removes the sci-fi and interdimensional aspects of CDDA.",
"category": "total_conversion",
"steam_id": 0,
"dependencies": [ "dda" ]
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/dda/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"description": "Core content for Cataclysm-DDA",
"category": "content",
"core": true,
"steam_id": 0,
"path": "../../json"
}
]
1 change: 1 addition & 0 deletions data/mods/deadly_bites/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"authors": [ "dseguin" ],
"description": "Bites from zombies have a chance to inflict a permanent fatal illness. Find and consume antivirals to stave off the disease.",
"category": "misc_additions",
"steam_id": 0,
"dependencies": [ "dda" ]
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/desert_region/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"category": "content",
"dependencies": [ "dda" ],
"version": "0.1",
"steam_id": 0,
"obsolete": true
}
]
1 change: 1 addition & 0 deletions data/mods/extra_mut_scen/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"authors": [ "Saicchi" ],
"description": "Extra scenarios with all possible mutation traits and thresholds.",
"category": "misc_additions",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/innawood/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"description": "An untouched land that mankind has yet to reach. Disables most traces of civilization for that 'innawood' experience. Recommend size of cities be set to 0.",
"category": "total_conversion",
"dependencies": [ "dda" ],
"steam_id": 0,
"obsolete": false
}
]
1 change: 1 addition & 0 deletions data/mods/no_fungal_growth/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"authors": [ "eltank" ],
"description": "Removes the exponential growth ability of fungaloids.",
"category": "rebalance",
"steam_id": 0,
"dependencies": [ "dda" ]
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/package_bionic_professions/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"authors": [ "Erk/Everyone" ],
"description": "Numerous bionic starting professions. Disable for a more real-world experience.",
"category": "content",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/rural_biome/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"category": "content",
"dependencies": [ "dda" ],
"version": "0.1",
"steam_id": 0,
"obsolete": false
}
]
1 change: 1 addition & 0 deletions data/mods/sees_player_hitbutton/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"authors": [ "esotericist", "AnthonBerg" ],
"description": "Adds indicator icon if a creature sees the player. Designed for the HitButton isometric tileset.",
"category": "graphical",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/sees_player_retro/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"authors": [ "esotericist", "dranitski" ],
"description": "Adds indicator icon if a creature sees the player. Adds status icons for run, crouch, prone, bleeding, light on top of player tile.",
"category": "graphical",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
1 change: 1 addition & 0 deletions data/mods/speedydex/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"maintainers": [ "KorGgenT" ],
"description": "Higher dex increases your speed.",
"category": "rebalance",
"steam_id": 0,
"dependencies": [ "dda" ]
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/stats_through_kills/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"maintainers": [ "KorGgenT" ],
"description": "You gain XP from kills that you can spend on increasing your stats.",
"category": "rebalance",
"steam_id": 0,
"dependencies": [ "dda" ]
},
{
Expand Down
1 change: 1 addition & 0 deletions data/mods/translate-dialogue/modinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"authors": [ "I-am-Erk" ],
"description": "Adds a translation for some of the weirder dialogue in game. Keeps the original flavour dialogue visible.",
"category": "misc_additions",
"steam_id": 0,
"dependencies": [ "dda" ]
}
]
3 changes: 3 additions & 0 deletions src/mod_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ void mod_manager::load_modfile( const JsonObject &jo, const cata_path &path )
assign( jo, "dependencies", modfile.dependencies );
assign( jo, "core", modfile.core );
assign( jo, "obsolete", modfile.obsolete );
if( jo.has_int( "steam_id" ) ) {
assign( jo, "steam_id", modfile.steam_id );
}

if( std::find( modfile.dependencies.begin(), modfile.dependencies.end(),
modfile.ident ) != modfile.dependencies.end() ) {
Expand Down
2 changes: 2 additions & 0 deletions src/mod_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ struct MOD_INFORMATION {
/** Directory to load JSON from relative to directory containing modinfo.json */
cata_path path;

// the steam workshop id for the mod. in-repo mods should have a value of 0. unuploaded mods should be left blank.
cata::optional<uint64_t> steam_id = cata::nullopt;
/** All authors who have added content to the mod (excluding maintenance changes) */
std::set<std::string> authors;

Expand Down

0 comments on commit 68e4795

Please sign in to comment.