You are viewing a potentially older version of this package. View all versions.
Klehrik-Print_n_Scrap-1.2.2 icon

Print n Scrap

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

Date uploaded 6 months ago
Version 1.2.2
Download link Klehrik-Print_n_Scrap-1.2.2.zip
Downloads 712
Dependency string Klehrik-Print_n_Scrap-1.2.2

This mod requires the following mods to function

ReturnOfModding-ReturnOfModding-1.1.19 icon
ReturnOfModding-ReturnOfModding

Lua Mod Loader for Risk of Rain Returns

Preferred version: 1.1.19
ReturnsAPI-ReturnsAPI-0.1.54 icon
ReturnsAPI-ReturnsAPI

(Mostly done) API for modding Risk of Rain Returns.

Preferred version: 0.1.54
Klehrik-Better_Crates-1.1.1 icon
Klehrik-Better_Crates

Allows exiting command crates and saves last selection.

Preferred version: 1.1.1
LuaENVY-ENVY-1.2.0 icon
LuaENVY-ENVY

A plugin to allow ReturnOfModding plugins greater control of their environment.

Preferred version: 1.2.0

README

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)

-- Ban an item from being taken by printers and scrappers
PnS.ban_item_taking(item)

CHANGELOG

v1.2.3

  • Fix issue with scrappers taking wrong item for clients

v1.2.2

  • API: Add ban_item_taking

v1.2.1

  • Readd the guaranteed printers on the Contact Light

v1.2.0

  • Update to use ReturnsAPI
  • Add support for other mods to add printers for custom tiers
  • Add some toggleable settings

v1.1.0

  • Now multiplayer synced

v1.0.2

  • Now requires Better Crates mod
  • Slightly increased scrapper spawn weight

v1.0.1

  • Readd the guaranteed printers on the Contact Light

v1.0.0

  • Initial release