Commit Graph
139 Commits
Author SHA1 Message Date
Luis C.M ec5fc71413 Merge branch 'master' into dev
# Conflicts:
#	src/main/java/noppes/npcs/scripted/ScriptFaction.java
#	src/main/java/noppes/npcs/scripted/ScriptWorld.java
#	src/main/java/noppes/npcs/scripted/entity/ScriptNpc.java
#	src/main/java/noppes/npcs/scripted/entity/ScriptPlayer.java
#	src/main/java/noppes/npcs/scripted/interfaces/IEntity.java
#	src/main/java/noppes/npcs/scripted/interfaces/IWorld.java
#	src/main/java/noppes/npcs/scripted/interfaces/entity/ICustomNpc.java
#	src/main/java/noppes/npcs/scripted/interfaces/entity/IPlayer.java
2022-05-27 15:31:02 -05:00
Luis C.M 301e113be2 Added quest tracking, need to add objectives list and turn in info too. 2022-05-27 14:32:24 -05:00
1whohears 77ee403720 RoleFollowers will not despawn if they have an owner
RoleFollowers canDespawn field will be changed back to the value set by the player in the gui/api if they stop following a player
2022-05-26 03:00:49 -05:00
1whohears 422dd3fc90 added trader.slotdisabled to trader gui
I just copied what was done to display the trader.insufficient and added trader.slotdisabled to en_US.lang
2022-05-26 01:43:17 -05:00
Luis C.M 95bc4bf42d Renamed TransformData to DataTransform. 2022-05-24 01:08:23 -05:00
Luis C.M 33bb0307e9 Separated data objects and data controller objects in the noppes.npcs.controllers package. 2022-05-24 01:07:50 -05:00
Luis C.M b6c62332ed Fixed SkinOverlay objects not having their parent object initialized correctly. 2022-05-23 20:47:32 -05:00
Luis C.M 6220a8ce14 -Overlays for players and NPCs are now grouped in an "overlay handler" object, similar to how you retrieve timers.
-Fixed client NPC overlay updates.
2022-05-23 20:41:32 -05:00
Luis C.M 41401d0521 Removed redundant ScriptSkinOverlay, using SkinOverlayData in place of it, which now implements ISkinOverlay. 2022-05-17 04:46:06 -05:00
Luis C.M 8bc3190295 Implemented multiple overlay layers for CNPCs, replaces powered textures. 2022-05-17 04:34:46 -05:00
Luis C.M 89ac9f5225 Fix for the global script GUI menu. 2022-05-16 00:42:40 -05:00
Luis C.M 6dea5a1cbc Interfaces have a file strucutre resembling the file structure of their implementing classes. 2022-05-11 16:43:14 -05:00
Luis C.M c2546c3f82 Updated interfaces to have the proper functions. Documentation will focus around them, so they'll be better organized from now on. 2022-05-11 16:31:14 -05:00
Luis C.M aab550cdca Implemented custom item rotation rate, and start using, using, stop using, finished using events for custom items. 2022-05-11 14:24:12 -05:00
Luis C.M 11cc46b48f Fixed some scripted item events, and fixed positioning of scripted items. 2022-05-11 13:30:13 -05:00
Luis C.M 26f5f86dca Implemented Scripted Custom Items. 2022-05-11 01:10:31 -05:00
Luis C.M d6c46158f5 TexturedRect classes for GUIs & overlays, and Custom GUI buttons now support textures of all sizes when using URLs.
EntityCustomFX:
-Added URL support
2022-05-04 23:08:30 -05:00
Luis C.M 09f76d84c4 GuiContainerNPCInterface, GuiNPCInterface, GuiNpcMenu all disable repeat key events when closed like all other GUIs now.
The keyEvent scripted event no longer detects repeat held key presses.
2022-05-03 13:34:56 -05:00
Luis C.M 464f5ecb1e Fixed scaling issue on custom gui textured rectangles 2022-03-24 01:58:39 -05:00
Luis C.M 3066e1dfbc Global event script buttons and the script GUI for an NPC are enabled/disabled/darkened based on their respective configs. 2022-03-23 18:54:55 -05:00
Luis C.M 286f6862cb Small clarifications in the new scripting configs, and removed some unused imports. 2022-03-23 17:48:58 -05:00
Luis C.M 9a244ca2fe Renamed NPCs button on GUI, added configs for enabling player, forge, NPC, and all scripts. 2022-03-23 17:42:35 -05:00
Luis C.M 50fe08ce2e Merge branch 'KAMKEEL:master' into master 2022-03-23 03:55:08 -05:00
Luis C.M 18ff2bff78 Implemented Global NPC Events!
All NPCs activate these scripts. If a player wants to create a script that's universally used by all NPCs, this allows for that to happen with a lot of ease!
2022-03-23 03:54:06 -05:00
KAMKEEL d867017871 Merge branch 'master' of https://github.com/KAMKEEL/CustomNPC-Plus 2022-03-15 00:21:00 -04:00
KAMKEEL 1e771bce8a Update GuiContainerNPCInterface2.java
Cleanup
2022-03-15 00:16:44 -04:00
KAMKEEL a507f06d7f Fix Texture Issue in Menu 2022-03-14 03:15:42 -04:00
KAMKEEL dafd5f4460 Fix Sizing for Clone Menu 2022-03-14 02:24:32 -04:00
luisc 60e14f548e Custom GUIs now only close when the ESC key is pressed. 2022-03-09 00:33:55 -06:00
luisc 1cb27a9e7a Implemented XYZ rotations correctly, now clearly rotate around an axis respective to the player's camera. 2022-03-04 18:08:05 -06:00
luisc 22b622d46c Fixed hovering text for custom GUI labels and textured rectangles. 2022-02-23 00:39:01 -06:00
luisc 3d1caf494b Small fix to min XP and max XP text fields in NPC inventory menu 2022-02-16 12:57:46 -06:00
Luis C.M 6bfbffb0e6 Merge branch 'KAMKEEL:master' into master 2022-02-05 23:58:11 -06:00
luisc 47f41ff5b7 Added custom kill types 2022-02-02 22:11:49 -06:00
KAMKEEL 01e568d0c7 Remove More Print Statements 2022-02-02 19:41:34 -05:00
Kamron Vaswani 19ccdd60d2 Merge pull request #32 from c0508383/master
Bug fixes & GUI rotations
2022-02-02 15:43:23 -05:00
luisc 1af875aea9 Fixed concurrent modification bug with NPC tasks. 2022-01-31 23:01:52 -06:00
luisc 67c83b1ce9 Added rotation for custom GUI lines, labels, and textured rectangles 2022-01-31 15:39:21 -06:00
Kamron Vaswani bc54e8cd7b Merge pull request #31 from c0508383/master
Increased NPC Inventory & Other Additions.
2022-01-31 16:27:15 -05:00
luisc 83e13285f9 Added rotation to overlay components, and color codes to overlay labels 2022-01-31 14:51:06 -06:00
luisc 3be088c4cc Moved OpenGL lines to within the loop that renders each component, fixing some weird alpha errors. 2022-01-30 22:58:12 -06:00
luisc 54fadbe63f Implemented label, alpha, and formatting for Custom GUI labels. 2022-01-30 22:49:03 -06:00
luisc da3b04e78e Implemented MC chat formatting for color codes: &l, &m, &r, &o, and &k all affect overlay labels. 2022-01-30 22:41:55 -06:00
luisc e7a19264b2 Added alpha and style options for overlay labels. 2022-01-30 14:22:29 -06:00
luisc 966ab4bf72 Custom Overlays and GUIs now properly set alpha values for some components. 2022-01-30 13:29:00 -06:00
luisc e5e1aa1972 Made color and alpha components global among ScriptGui classes. 2022-01-30 05:20:45 -06:00
luisc be61bd4e17 Made color and alpha components global among ScriptOverlay classes. 2022-01-30 04:33:00 -06:00
luisc 534f716991 Implemented Scripted Overlays which stay on the player's screen. Overlays persist in the client, and can be removed from the screen as well. 2022-01-30 04:05:01 -06:00
luisc 8b24dad211 Added Custom GUI Lines, with configurable thickness & color. Draws a line between one point defined by (x1,y1), and another defined by (x2,y2) 2022-01-28 03:21:00 -06:00
luisc f876f13d77 Added 9 more slots for quest kill objectives, and an option for kill quests to progress only if a player kills an NPC with that name.
Added quest interface support to get and modify data from specific quest types.
2022-01-27 05:40:51 -06:00