Initial commit

This commit is contained in:
2026-06-07 21:19:01 -04:00
commit f241504004
43 changed files with 19184 additions and 0 deletions
@@ -0,0 +1,28 @@
# =============================================================================
# Giga + Age of Wonder Compatibility Patch — "hide the filter button" edict
# A free, perpetual toggle. While active, has_edict = compat_hide_megatab is true,
# and the filter button's button_effects (common/button_effects/zzzz_compat_megatabs.txt)
# fail their `potential`, so the on-screen button disappears. Toggle off to restore.
# The filter setting itself is unaffected; it just can't be changed while hidden.
# =============================================================================
compat_hide_megatab = {
length = -1 # perpetual toggle
icon = "GFX_edict_type_policy"
resources = {
category = edicts
cost = { influence = 0 } # free UI preference toggle
}
# No gameplay effect; the active state is read via has_edict only. Use a
# custom_tooltip (not a stat modifier) so the edicts menu shows clean text
# instead of a "+0%" line.
effect = {
custom_tooltip = edict_compat_hide_megatab_effect
}
potential = { is_ai = no }
allow = { always = yes }
ai_weight = { weight = 0 }
}