Author Topic: Limit of Bricks  (Read 1415 times)

This would make you have a "limit" of bricks. I think this would be useful for some rpg's. You would get "bricks"(material) by destroying a real brick. Once you destroy 1 brick you can place 1 brick.
I'm not sure how some things would work like if someone doesn't have full trust with me they can't get material.

Slash Commands list:
/bricklimit On/Off -Turns Brick Limit On/Off works for all players. Super Admin Only.
/sabricklimit On/Off -Turns Brick Limit On/Off works for only Super Admin. Super Admin Only.
/startbricks (Number of Bricks) -Sets how much bricks someone starts with. Super Admin Only.
/bricks -Shows you how much "bricks" you have.
/grantbricks (Name) -Gives bricks to (Name).

No this is against badspot's whole freedom to build thing.

grantbricks should be for an rpg though that would make a little more sence because you can buy bricks

Or in an RPG, you would mine BLOCKO or something to get studs, each piece can make 3 studs of plate or one stud of brick. There would have to be part of the script for each brick though... kind of like RoB.

That sounds good too.

Heres a potential core of the script.
If you like it, use it.

Code: [Select]
package whatever
{
    function servercmdplantbrick(%client)
    {
        if(isobject(%brick=%client.player.tempbrick)&&$pref::server::bricksCostMaterial)
        {
            if(%client.material<(%size=%brick.getdatablock().getvolume()))
            {
                messageclient(%client,"",'you need \c1"@<%size-%client.material@" \c1 more material to build this brick.");
                return;
            }
            else %client.material-=%size;
        }
        parent::servercmdplantbrick(%client);
    }
}

That costs material even if the brick gets a plant error.

this already exists.
go to "server options" or something

Badspot

  • Administrator
I would recommend implementing this as a gameplay system, rather than a series of micro-management commands for admins.  Rise Of Blockland seems to do this well, but it is somewhat complex. 

i hate commands. i would avoid ever having to use the in game console if i could help it

the igso main can change the brick limit past 999999

the igso main can change the brick limit past 999999

YOU BUMPED ANOTHER USELESS TOPIC.