Initial commit
This commit is contained in:
@@ -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 }
|
||||
}
|
||||
Reference in New Issue
Block a user