Something went wrong. Try again.
A game I created in a few days based off a suggestion from Orteil's game generator using GameMaker Studio
Something went wrong. Try again.
1234567891011///inv_read(slot, value);/*argument0 -> The slot in the inventory to read from (Real: Between 0 and the the width of the inventoryargument1 -> The value to read from the inventory (Real: ItemIndex (0) or ItemQty (1))Returns the value from the slot in the inventory. This script is useful asinvdb_read(inv_read(item, ItemIndex),ItemName);to get the information about items from the database.This script returns the requested value from the inventory grid*/return ds_grid_get(InventoryController.inv, argument0, argument1);