×
Create a new article
Write your page title here:
We currently have 277 articles on Waste Of Space Wiki. Type your article name above or create one of the articles listed here!



    Waste Of Space Wiki

    Dispenser: Difference between revisions

    Content deleted Content added
    Is it a category tho?
    No edit summary
    Line 6: Line 6:
    |raw_recipe={{#invoke:GetPartInfo|getField|Raw recipe}}
    |raw_recipe={{#invoke:GetPartInfo|getField|Raw recipe}}
    }}
    }}
    '''Dispenser''' is a part that uses to drop items and resources from [[Bin|bins]] to in front of a hole of a dispenser. It is essential and uses for factories and automatic reactors.
    '''Dispenser''' is a part that is used to drop items and resources out of [[Bin|bins]] to in front of the dispenser. It is essential and uses for factories and automatic reactors.


    Its appearance is a gray-colored part with a hole on its front side. When it is clicked or interacted by [[Button|triggering it]], its color will turn green and start to drop items from a connected bin. Its color will turn back into gray when it is clicked again.
    Its appearance is a gray-colored part with a hole on its front side. When it is clicked or interacted by [[Button|triggering it]], its color will turn green and start to drop items from a connected bin. Its color will turn back into gray when it is clicked again.

    Whether or not the dispenser is dropping items won't save when you leave, but it's color will, meaning it will appear to have saved but won't be dispensing items.

    === Microcontroller API ===

    <syntaxhighlight lang="lua">void dispenser:Dispense()</syntaxhighlight>
    : Makes the dispenser dispense an item.

    ==== Example code snippet ====
    <syntaxhighlight lang="lua">dispenser:Dispense()</syntaxhighlight>


    === In-game description ===
    === In-game description ===

    Revision as of 10:12, 20 January 2024

    Dispenser is a part that is used to drop items and resources out of bins to in front of the dispenser. It is essential and uses for factories and automatic reactors.

    Its appearance is a gray-colored part with a hole on its front side. When it is clicked or interacted by triggering it, its color will turn green and start to drop items from a connected bin. Its color will turn back into gray when it is clicked again.

    Whether or not the dispenser is dropping items won't save when you leave, but it's color will, meaning it will appear to have saved but won't be dispensing items.

    Microcontroller API

    void dispenser:Dispense()
    
    Makes the dispenser dispense an item.

    Example code snippet

    dispenser:Dispense()
    

    In-game description

    '"Dispenses items from attached bins, similar to a faucet. Can also filter certain items from dispensing. Simply configure it to be a list of names. For example, Copper Iron Wire " '

    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • Jo857294 • 1 day ago
  • 116.111.185.163 • 13 days ago
  • 116.111.185.163 • 13 days ago
  • 116.111.185.163 • 13 days ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.