Poll

What do you think?

Cool!
Sucks stuff
Eh...
I NEED IT!
NOW I CAN MAKE BLOCKO DRUGS!

Author Topic: item pellets/ potions  (Read 4795 times)

i wanna carry 5 pellets as my only weps i want one to give items, heal me forever, set helth, and umm explode, and set as quake player perfect full set


make it so you only effect YOUR own pellets w/ the gui yeyeyeh

I'm guessing such a system could work like this:
- "Pellet" items can be spawned from bricks like normal items (wrench) or by the spawnItem event. There are several kinds. (example)
- Red Pellet: Holding down the trigger it is 'used' every second. Reusable.
- Green Pellet: Clicking once will use it one time. It can be clicked repeatedly. Reusable.
- Blue Pellet: When used once, it disappears from your inventory. You can hold more than one at a time.
- Yellow Pellet: When used once, it disappears from your inventory. You can only hold one at a time.
- Picking up the item 'links' it with its spawn brick. This carries over between throwing the item away and picking up other pellets.
- When you use the item, the onPelletUse event is triggered on the spawn brick. Any action can be done with the spawn brick, player, client, minigame or other named bricks via events.


ask zor i think hes working on it

i just suggested
Zor isnt a he, you tard.
But anyway, great idea.

Zor isnt a he, you tard.
But anyway, great idea.
i knew that but i forgot

You could hook a button up to a bomb XD

You could hook a button up to a bomb XD
Yeah, I think this as an Add-On would be really useful in a lot of situations.

Well, what if the spawn brick doesn't exist when you use it?
Nothing would happen.

This might be a problem.

Auto remove it from peoples' inventories? The item only exists if it's actually linked to the brick, maybe.

Or just have it do nothing. The same thing would happen if you tried to use it from a minigame with the item or if someone didn't actually define pellet use events for the brick.

my idea is a lot like your onplayerpickup item

I'm guessing such a system could work like this:
- "Pellet" items can be spawned from bricks like normal items (wrench) or by the spawnItem event. There are several kinds. (example)
- Red Pellet: Holding down the trigger it is 'used' every second. Reusable.
- Green Pellet: Clicking once will use it one time. It can be clicked repeatedly. Reusable.
- Blue Pellet: When used once, it disappears from your inventory. You can hold more than one at a time.
- Yellow Pellet: When used once, it disappears from your inventory. You can only hold one at a time.
- Picking up the item 'links' it with its spawn brick. This carries over between throwing the item away and picking up other pellets.
- When you use the item, the onPelletUse event is triggered on the spawn brick. Any action can be done with the spawn brick, player, client, minigame or other named bricks via events.

I'd rather have it be a beaker of a random liquid that inherits the color of the brick it is on (or have the color settable through some kind of option) and then making the item consumption style be chosen through some kind of list.


Dude above me, have you read the posts in this topic?

Jesus

if i made drug pellets it be cool is you could make a fog emiter come frome you if you do them

I'm not aking 4 drugs, I'm asking 4 pellets/potions customizeable by event