Risk of Rain Returns

Details

Last Updated
6 days ago
First Uploaded
6 days ago
Downloads
3.9K
Likes
5
Size
19KB
Dependency string
Klehrik-Print_n_Scrap-1.2.0
Dependants

Adds 3D Printers and Scrappers from Risk of Rain 2.

Online compatible.


Installation Instructions

Follow the instructions listed here.
Join the Return of Modding server for support.

Credits

  • casey (@invenot) for printer and scrapper sprite bases.

API

PnS = mods["Klehrik-Print_n_Scrap"].setup()

-- Add a new printer
-- Passing an existing tier will modify its printer
local interactable_card = PnS.new{
    tier            = ItemTier.COMMON,
    cost            = 65,
    weight          = 6,
    rarity          = 1,
    tier_token      = "tier.common",
    scrap_sprite    = Sprite.new("scrapWhite", "~/sprites/scrapWhite.png", 1, 13, 13)
}

-- Get table of printer interactable cards
local interactable_cards = PnS.get_printer_cards()

-- Ban printers from appearing on this stage
PnS.ban_printers(stage)

-- Ban scrappers from appearing on this stage
PnS.ban_scrappers(stage)

-- Ban an item from appearing in a printer
PnS.ban_item(item)
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.