# ../gungame/plugins/custom/gg_knife_advanced/rules.py """Creates the gg_knife_advanced rules.""" # ============================================================================= # >> IMPORTS # ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .info import info # ============================================================================= # >> RULES # ============================================================================= knife_advanced_rules = GunGameRules(info.name) knife_advanced_rules.register_all_rules()
# ../gungame/plugins/custom/gg_assists/rules.py """Creates the gg_assists rules.""" # ============================================================================= # >> IMPORTS # ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .info import info # ============================================================================= # >> RULES # ============================================================================= assists_rules = GunGameRules(info.name) assists_rules.register_all_rules()
# ../gungame/plugins/custom/gg_knife_fight/rules.py """Creates the gg_knife_fight rules.""" # ============================================================================= # >> IMPORTS # ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .info import info # ============================================================================= # >> RULES # ============================================================================= knife_fight_rules = GunGameRules(info.name) knife_fight_rules.register_all_rules()
# ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules from gungame.core.rules.strings import rules_translations # Plugin from .configuration import ( count_grenade_kills, count_melee_kills, end_on_first_kill, ) from .info import info # ============================================================================= # >> RULES # ============================================================================= teamplay_rules = GunGameRules(info.name) teamplay_rules.register_convar_token( token_name='count_grenade_kills', convar=count_grenade_kills, ) teamplay_rules.register_convar_token( token_name='count_melee_kills', convar=count_melee_kills, ) teamplay_rules.register_convar_token( token_name='end_on_first_kill', convar=end_on_first_kill, ) for _key, _value in rules_translations.items(): if _key.startswith(f'{info.name}:Base:'): teamplay_rules.register_rule(
# ../gungame/plugins/custom/gg_knife_nade_bonus/rules.py """Creates the gg_knife_nade_bonus rules.""" # ============================================================================= # >> IMPORTS # ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .info import info # ============================================================================= # >> RULES # ============================================================================= knife_nade_bonus_rules = GunGameRules(info.name) knife_nade_bonus_rules.register_all_rules()
# ../gungame/plugins/included/gg_ffa/rules.py """Creates the gg_ffa rules.""" # ============================================================================= # >> IMPORTS # ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .info import info # ============================================================================= # >> RULES # ============================================================================= ffa_rules = GunGameRules(info.name) ffa_rules.register_all_rules()
# ../gungame/plugins/included/gg_knife_steal/rules.py """Creates the gg_knife_steal rules.""" # ============================================================================= # >> IMPORTS # ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .info import info # ============================================================================= # >> RULES # ============================================================================= knife_steal_rules = GunGameRules(info.name) knife_steal_rules.register_all_rules()
# ../gungame/plugins/included/gg_deathmatch/rules.py """Creates the gg_deathmatch rules.""" # ============================================================================= # >> IMPORTS # ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .configuration import delay from .info import info # ============================================================================= # >> RULES # ============================================================================= deathmatch_rules = GunGameRules(info.name) deathmatch_rules.register_convar_token( token_name='delay', convar=delay, convar_type='float', ) deathmatch_rules.register_all_rules()
# ../gungame/plugins/included/gg_nade_bonus/rules.py """Creates the gg_nade_bonus rules.""" # ============================================================================= # >> IMPORTS # ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .info import info # ============================================================================= # >> RULES # ============================================================================= nade_bonus_rules = GunGameRules(info.name) nade_bonus_rules.register_all_rules()
# ../gungame/plugins/custom/gg_chicken_hunt/rules.py """Creates the gg_chicken_hunt rules.""" # ============================================================================= # >> IMPORTS # ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .info import info # ============================================================================= # >> RULES # ============================================================================= chicken_hunt_rules = GunGameRules(info.name) chicken_hunt_rules.register_all_rules()
# ../gungame/plugins/included/gg_earn_nade/rules.py """Creates the gg_earn_nade rules.""" # ============================================================================= # >> IMPORTS # ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .info import info # ============================================================================= # >> RULES # ============================================================================= earn_nade_rules = GunGameRules(info.name) earn_nade_rules.register_all_rules()
# ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .configuration import ( killed_count, killed_levels, rescued_count, rescued_levels, stopped_count, stopped_levels, ) from .info import info # ============================================================================= # >> RULES # ============================================================================= hostage_objective_rules = GunGameRules(info.name) hostage_objective_rules.register_convar_token( token_name='killed_count', convar=killed_count, ) hostage_objective_rules.register_convar_token( token_name='killed_levels', convar=killed_levels, ) hostage_objective_rules.register_convar_token( token_name='rescued_count', convar=rescued_count, ) hostage_objective_rules.register_convar_token( token_name='rescued_levels', convar=rescued_levels,
# ../gungame/plugins/included/gg_multi_level/rules.py """Creates the gg_multi_level rules.""" # ============================================================================= # >> IMPORTS # ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .configuration import levels from .info import info # ============================================================================= # >> RULES # ============================================================================= multi_level_rules = GunGameRules(info.name) multi_level_rules.register_convar_token( token_name='levels', convar=levels, ) multi_level_rules.register_all_rules()
# ../gungame/plugins/included/gg_bombing_objective/rules.py """Creates the gg_bombing_objective rules.""" # ============================================================================= # >> IMPORTS # ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .configuration import defused_levels, detonated_levels from .info import info # ============================================================================= # >> RULES # ============================================================================= bombing_objective_rules = GunGameRules(info.name) bombing_objective_rules.register_convar_token( token_name='defused_levels', convar=defused_levels, ) bombing_objective_rules.register_convar_token( token_name='detonated_levels', convar=detonated_levels, ) bombing_objective_rules.register_all_rules()
# ../gungame/plugins/custom/gg_buy_level/rules.py """Creates the gg_buy_level rules.""" # ============================================================================= # >> IMPORTS # ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .info import info # ============================================================================= # >> RULES # ============================================================================= buy_level_rules = GunGameRules(info.name) buy_level_rules.register_all_rules()
# ../gungame/plugins/included/gg_teamwork/rules.py """Creates the gg_teamwork rules.""" # ============================================================================= # >> IMPORTS # ============================================================================= # GunGame from gungame.core.rules.instance import GunGameRules # Plugin from .info import info # ============================================================================= # >> RULES # ============================================================================= teamwork_rules = GunGameRules(info.name) teamwork_rules.register_all_rules()