Script:Files:script/misc/noplant.script

From Mod Wiki
object trigger_noplant {
    void                    preinit();

    boolean                    vDisablePlant();
}

void trigger_noplant::preinit() {
    team_base team = sys.getTeam( getKey( "team" ) );
    if ( team == $null ) {
        sys.error( "trigger_noplant::preinit Invalid Team Set" );
    }

    setGameTeam( team );
}

boolean trigger_noplant::vDisablePlant() {
    return true;
}