Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Text;
- using Scripting;
- namespace UserScripts
- {
- /// <summary>
- /// Enter description here
- /// </summary>
- public class WellScript : ScriptBase
- {
- public void OnInteract(Actor actor, SceneryInstance scenery)
- { // you don't need to create a new actor called player, actor is the actor that right clicks.
- // Actor Player;
- // Player = actor;
- actor.GiveItem("WaterBucket", 1);
- actor.Output("You recived: 1 WaterBucket!");
- }
- }
- }
Add Comment
Please, Sign In to add comment