Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,10 @@
- `tools/world_content_audit.py` is a read-only exploratory report. It may reveal
review targets but never replaces `tools/validate.py` or the catalog, and its
output is not generated source. Its map/archetype traversal must use the
common lossless core.
common lossless core. The checked main-line light review must preserve its
pinned Classic decisions and replacement-runtime boundary, carry no Classic
capture artifacts, and pass `python3 tools/world_content_audit.py lights
--check` with zero unreviewed emitters.
- Run `python3 tools/validate.py` and `git diff --check` for every change. The
aggregate validator already runs contracts, schema/syntax/catalog checks,
lossless-core tests/audit, provenance/license gates, and an isolated runtime
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,14 @@ python3 -m tools.syntax_evaluation --root . --json
```

For read-only exploratory inventories of quests, regions, artifacts, maps,
named objects, and archetype locations, run:
named objects, archetype locations, and effective light emitters, run:

```sh
python3 tools/world_content_audit.py all > build/world-content-audit.json
```

Pass `quests`, `regions`, `artifacts`, or `world` for a focused report. The
Pass `quests`, `regions`, `artifacts`, `world`, or `lights` for a focused report.
The checked semantic light-source baseline and replacement-runtime boundary are
documented in [`docs/LIGHT_SOURCE_AUDIT.md`](docs/LIGHT_SOURCE_AUDIT.md). The
audit emits deterministic JSON and never modifies authored content. It is a
review aid, not a replacement for `tools/validate.py` or the typed catalog.
1 change: 1 addition & 0 deletions arch/artifacts.art
Original file line number Diff line number Diff line change
Expand Up @@ -3110,6 +3110,7 @@ reflect_spell 1
protect_fire 25
protect_cold 25
glow_radius 1
light_color fff0c0
item_quality 90
item_condition 90
is_named 1
Expand Down
1 change: 1 addition & 0 deletions arch/connect/exits/exit_green/exit_green.arc
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ anim_speed 5
walk_on 1
fly_on 1
race teleport.ogg
light_color 40ff60
name_pl exits
end
4 changes: 4 additions & 0 deletions arch/dev/editor/conf/types.xml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@
value between 0 and 4, the higher, the more light does the object
emit.
</attribute>
<attribute arch="light_color" editor="light color" type="string">
The color emitted by a glowing object, written as exactly six
hexadecimal digits in RRGGBB form (for example, ffc080).
</attribute>
<attribute arch="z" editor="height" type="int">
Adjusts Y position of the object as it appears on the map.
</attribute>
Expand Down
2 changes: 2 additions & 0 deletions arch/floors/lava/floor_lava/floor_lava.arc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ no_teleport 1
terrain_type 8
no_pick 1
is_floor 1
light_color ff6030
name_pl lava
end

Expand All @@ -43,5 +44,6 @@ no_teleport 1
terrain_type 8
no_pick 1
is_floor 1
light_color ff6030
name_pl lava
end
4 changes: 4 additions & 0 deletions arch/floors/lava/floor_lava2/floor_lava2.arc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ terrain_type 8
no_pick 1
is_floor 1
glow_radius 3
light_color ff6030
name_pl lava
end

Expand All @@ -21,6 +22,7 @@ terrain_type 8
no_pick 1
is_floor 1
glow_radius 3
light_color ff6030
name_pl lava
end

Expand All @@ -34,6 +36,7 @@ terrain_type 8
no_pick 1
is_floor 1
glow_radius 3
light_color ff6030
name_pl lava
end

Expand All @@ -47,5 +50,6 @@ terrain_type 8
no_pick 1
is_floor 1
glow_radius 3
light_color ff6030
name_pl lava
end
1 change: 1 addition & 0 deletions arch/floors/lava/lava/lava.arc
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ type 71
no_pick 1
is_floor 1
glow_radius 3
light_color ff6030
name_pl lava
end
1 change: 1 addition & 0 deletions arch/floors/water/water_still.arc
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ terrain_type 2
type 71
no_pick 1
is_floor 1
light_color 60d0ff
name_pl water
end
1 change: 1 addition & 0 deletions arch/indoor/brazier/brazier_lit.arc
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ is_animated 1
anim_speed 2
no_pick 1
no_pass 1
light_color ff6030
name_pl braziers
end
2 changes: 2 additions & 0 deletions arch/indoor/candles.arc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ face candlelight3.101
no_pick 1
type 79
layer 4
light_color ffd080
name_pl candlelight
end

Expand All @@ -31,6 +32,7 @@ face candlelight4.101
no_pick 1
type 79
layer 4
light_color ffd080
name_pl candlelight
end

Expand Down
1 change: 1 addition & 0 deletions arch/indoor/crystal_rune/crystal_rune.arc
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ type 79
layer 5
no_pick 1
no_pass 1
light_color 60d0ff
name_pl runic crystals
end
2 changes: 2 additions & 0 deletions arch/indoor/fireplace/fireplace.arc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ is_animated 1
anim_speed 1
no_pick 1
no_pass 1
light_color ff6030
name_pl fireplaces
end
More
Expand Down Expand Up @@ -57,6 +58,7 @@ is_animated 1
anim_speed 1
no_pick 1
no_pass 1
light_color ff6030
name_pl fireplaces
end
More
Expand Down
1 change: 1 addition & 0 deletions arch/indoor/lab/lab_cauldron.arc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ direction 1
no_pick 1
type 79
layer 4
light_color ff6030
name_pl small cauldrons
end
Object lab_cauld_brk
Expand Down
1 change: 1 addition & 0 deletions arch/intern/items/light/lamp_wall_unlit.arc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ direction 1
no_teleport 1
no_pick 1
last_sp 5
light_color ffd080
weight 1250
material 144
food 1
Expand Down
1 change: 1 addition & 0 deletions arch/intern/items/light/torch_green_wall_unlit.arc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ direction 1
no_teleport 1
no_pick 1
last_sp 5
light_color 66ff66
weight 1250
material 144
food 1
Expand Down
1 change: 1 addition & 0 deletions arch/intern/items/light/torch_wall_unlit.arc
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ direction 1
no_teleport 1
no_pick 1
last_sp 5
light_color ffc080
weight 1250
material 144
food 1
Expand Down
1 change: 1 addition & 0 deletions arch/items/alchemy/uranium.arc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ type 73
glow_radius 1
value 4000
weight 5000
light_color 80ff40
name_pl piles
end

Expand Down
1 change: 1 addition & 0 deletions arch/items/armour/mail/artifacts/armour_gods.art
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ title of Elathiel
type 16
int 2
glow_radius 1
light_color fff0c0
msg
This piece of armour has been enchanted with the grace of the God of Light and King of the Angels, Elathiel.
endmsg
Expand Down
1 change: 1 addition & 0 deletions arch/items/light/crystal/crystal_light.arc
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ material 256
value 35
weight 100
food 1
light_color fff0c0
name_pl crystals
end
1 change: 1 addition & 0 deletions arch/items/light/grave_fire/grave_fire.arc
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ material 64
last_sp 5
weight 100000
food 1
light_color ff6030
name_pl grave fires
end
1 change: 1 addition & 0 deletions arch/items/light/jackolantern/jackolantern.arc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ maxhp 2000
food 2000
last_eat 1
last_sp 5
light_color ff8030
item_quality 100
item_condition 100
name_pl jack-o'-lanterns
Expand Down
1 change: 1 addition & 0 deletions arch/items/light/lamp/lamp.arc
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ maxhp 1000
food 1000
last_eat 1
last_sp 5
light_color ffd080
name_pl lamps
end
1 change: 1 addition & 0 deletions arch/items/light/lamp_mithril/lamp_mithril.arc
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ weight 100
food 1
is_magical 1
last_sp 5
light_color 60d0ff
name_pl mithril lamps
end
1 change: 1 addition & 0 deletions arch/items/light/lamp_wall/lamp_wall.arc
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ last_sp 5
weight 1250
material 144
food 1
light_color ffd080
name_pl attached lamps
end
1 change: 1 addition & 0 deletions arch/items/light/torch/torch.arc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ food 500
speed 0.15
last_eat 1
last_sp 3
light_color ffc080
can_stack 1
name_pl torches
end
Expand Down
1 change: 1 addition & 0 deletions arch/items/light/torch_wall/torch_wall.arc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ type 74
face torch_wall.110
other_arch torch_wall_1_unlit
glow_radius 5
light_color ffc080
is_animated 1
animation torch_wall_1
is_turnable 1
Expand Down
1 change: 1 addition & 0 deletions arch/items/light/torch_wall_green/torch_wall_green.arc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ type 74
face torch_wall_green.110
other_arch torch_wall_green_unlit
glow_radius 5
light_color 66ff66
is_animated 1
animation torch_wall_green
is_turnable 1
Expand Down
5 changes: 5 additions & 0 deletions arch/landscape/crystals/crystal.arc
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ material 64
layer 5
no_pick 1
no_pass 1
light_color 8040ff
name_pl crystals
end

Expand All @@ -149,6 +150,7 @@ material 64
layer 5
no_pick 1
no_pass 1
light_color 40ff60
name_pl crystals
end

Expand All @@ -160,6 +162,7 @@ material 64
layer 5
no_pick 1
no_pass 1
light_color ff6030
name_pl crystals
end

Expand All @@ -171,6 +174,7 @@ material 64
layer 5
no_pick 1
no_pass 1
light_color c0e0ff
name_pl crystals
end

Expand All @@ -182,5 +186,6 @@ material 64
layer 5
no_pick 1
no_pass 1
light_color ff60c0
name_pl crystals
end
3 changes: 3 additions & 0 deletions arch/landscape/deco_lava/misc_volcano.arc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ glow_radius 3
layer 5
no_pick 1
no_pass 1
light_color ff6030
name_pl volcano obstacles
end

Expand All @@ -58,6 +59,7 @@ glow_radius 3
animation obstacle_volcano_5
is_animated 1
anim_speed 3
light_color ff6030
name_pl volcano obstacles
end

Expand All @@ -70,5 +72,6 @@ layer 5
glow_radius 3
no_pick 1
no_pass 1
light_color ff6030
name_pl volcano obstacles
end
2 changes: 2 additions & 0 deletions arch/landscape/plants/mushroom_spot.arc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ face mushroom_spot1.101
no_pick 1
type 79
layer 4
light_color ff3030
name_pl mushrooms
end

Expand All @@ -13,6 +14,7 @@ face mushroom_spot2.101
no_pick 1
type 79
layer 4
light_color 60d0ff
name_pl mushrooms
end

Expand Down
4 changes: 4 additions & 0 deletions arch/landscape/plants/mushrooms/mushroom_giant.arc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ layer 4
face mushroom_giant1.101
no_pick 1
type 79
light_color c0ff60
name_pl giant mushrooms
end

Expand All @@ -13,6 +14,7 @@ layer 4
face mushroom_giant2.101
no_pick 1
type 79
light_color ffd080
name_pl giant mushrooms
end

Expand All @@ -22,6 +24,7 @@ layer 4
face mushroom_giant3.101
no_pick 1
type 79
light_color 60d0ff
name_pl giant mushrooms
end

Expand All @@ -31,6 +34,7 @@ layer 4
face mushroom_giant4.101
no_pick 1
type 79
light_color c0ff60
name_pl giant mushrooms
end

Expand Down
1 change: 1 addition & 0 deletions arch/landscape/plants/mushrooms/mushroom_medium.arc
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ is_animated 1
anim_speed 4
no_pick 1
type 79
light_color ffd080
name_pl mushrooms
end
Loading