]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add some documentation showing the location of guide descriptions
authorotta8634 <k9wolf@pm.me>
Sun, 22 Dec 2024 10:19:07 +0000 (18:19 +0800)
committerotta8634 <k9wolf@pm.me>
Sun, 22 Dec 2024 10:19:07 +0000 (18:19 +0800)
This will hopefully make them a bit easier to find if someone inexperienced with the codebase wants to try to edit the guide. I think still they're require someone to point them in the right place though, but this is better than nothing.

qcsrc/menu/xonotic/guide/guide.qh

index 1b940049d73861d792ef9869af2dfab4810daf12..64c1767252267f75726bfe4c0d748a59a82daf2a 100644 (file)
@@ -57,24 +57,31 @@ REGISTRY_SOURCE(FreetextSource, GuidePages)
 
 #include <common/mapinfo.qh>
 REGISTRY_SOURCE(GametypeSource, Gametypes)
+// The descriptions for these are in common/gamemodes/gamemode/*/*.qh
 
 #include <common/items/all.qh>
 REGISTRY_SOURCE(ItemSource, Items)
+// The descriptions for these are in common/items/item/*.qc and common/mutators/mutator/instagib/items.qc
 
 #include <common/mutators/mutator/buffs/buffs.qh>
 REGISTRY_SOURCE(BuffSource, StatusEffect)
+// The descriptions for these are in common/mutators/mutator/buffs/all.inc and common/mutators/mutator/powerups/powerup/*.qc
 
 #include <common/mutators/mutator/nades/nades.qh>
 REGISTRY_SOURCE(NadeSource, Nades)
+// The descriptions for these are in common/mutators/mutator/nades/all.inc
 
 #include <common/weapons/all.qh>
 REGISTRY_SOURCE(WeaponSource, Weapons)
+// The descriptions for these are in common/weapons/weapon/*.qc and common/mutators/mutator/overkill/ok*.qc
 
 #include <common/monsters/all.qh>
 REGISTRY_SOURCE(MonsterSource, Monsters)
+// The descriptions for these are in common/monsters/monster/*.qc
 
 #include <common/vehicles/all.qh>
 REGISTRY_SOURCE(VehicleSource, Vehicles)
+// The descriptions for these are in common/vehicles/vehicle/*.qc
 
 #include <common/turrets/all.qh>
 REGISTRY_SOURCE(TurretSource, Turrets)