Jump to content

neogoo123

Vintarian
  • Posts

    10
  • Joined

  • Last visited

  • Days Won

    1

neogoo123 last won the day on March 16 2021

neogoo123 had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

neogoo123's Achievements

Berry Picker

Berry Picker (2/9)

6

Reputation

  1. Update: Hello! This mod was quite old and I had to update it to the current version of the game. Everything works as it should. The only actual change to the functionality of the mod was the change of composting dry grass to be 3 days instead of two. Please let me know of any suggestions you may have! EDIT: Fixed issue with scythe not being able to trim grass instead of only cutting.
  2. Fixed! Let me know if anything else is screwy. Thanks for letting me know! *Thought it was fixed, then I done screwed it up trying to get the fix out quick... Accidentally uploaded a zip of the mod folder, not the actual mod itself... This is why I'm not a professional lol
  3. Hey! I can verify, looks like I screwed something up... let me get a patch going and I'll reupload it.
  4. Hey thanks! Got it to work, did as you said and reuploaded, working well now.
  5. I'll be honest, that image at the bottom just really doesn't want to go away lol.
  6. Hello! It's been a bit! I created this mod a while back in March of 2021, but have recently had some time over winter break from my studies and got back into it. After playing it a bit, I found that there were a few things I would want to have in the game, so I went about adding them myself! This mod is small right now, but I plan on working on it and additional mods that will cater to as many as possible. In this version of the mod, there are only a few additions/modifications to the game: Scythes now swipe twice as fast and cut more grass at once - I found it really quite aggravating to cut grass with a scythe and most of the time just ended up using a knife to cut it because it ended up being faster. I want going through the ages to save me time and effort, not just give me more tools that don't do much. Thatched Grass - Combining 9 Dry Grass in the crafting grid (one grass in each box) will give you a piece of Thatched Grass. Thatched Grass Clothing - Combining Thatched Grass in the crafting grid as you would for getting armor in MineCraft will give you either Thatched Grass Pants or a Thatched Grass Shirt. These clothes come with a low Max Warmth, but with the ability to remake them when the conditions get low. 64x Dry Grass can be added to a barrel in order to create one compost. This process takes 3 days, so it doesn't take forever to get a single piece of compost, nor does it take 64 wasted foodstuffs. Mod page link: https://mods.vintagestory.at/show/mod/4900 Dry Grass in Barrel: Thatched Grass Recipe: Thatched Grass Shirt Recipe: Thatched Grass Pants Recipe: Thatched Grass Shirt and Pants being worn: If you'd like to take a look at all of this in action (Note that this version puts the time to compost at 3 days instead of the 1 day seen in the video):
  7. Alright, so, I think I've fixed my issue but I'm left with some questions still. I'm going to put this as solved for now incase others who are in my situation come across this. What I had to do was replace all of the sections in the code that used "(byPlayer as EntityPlayer)?.Player;" with This has fixed my issue, and I'm now able to modify the class at my leisure. My main issue here is if that operator, the "?", in this specific context, is part of a different CS version and I'm just not up-to-date? I've only ever seen the question mark operator used as a ternary operator. Also I'm going to change the bubble to "Solved!".
  8. Thanks for the reply, Quentin! Update: I seem to have narrowed down the issue to specifically lines 59, 118, and 126, which are the places where there are "(byEntity as EntityPlayer)?.Player;"s. I happened to look into the log files (I had been, but didn't really notice anything weird in the client and server debug logs) and found that in server-event file there was this: By removing the question marks (I'd never seen question marks used like this myself so I figured that might have been it) I successfully got it to load the mod albeit with other issues but hey at least I'm actually loading the mod.
  9. Update: So by removing only the OnHeldAttackStep() and OnHeldAttackStart() functions, the mod actually loads, so it has to do something with that. I'll continue debugging why this stops the mod loading process, but that this point I'm still quite confused.
  10. Hello! I'm fairly new to the Vintage Story scene, and its modding in general, but have had some good successes. After getting used to everything and starting to add stuff that I actually wanted modded in, I started work on another part which has to do with modifying the scythe code. This would be the first coding work I'd done in it, so I figured I'd start out by making my own version of the scythe and then replace the vanilla one when I was done. I went about this by essentially just copying the ItemScythe code from the survival github to a new CS file called ItemScytheModded. This is where I intended to play with the tool. After adding the file and adding the code from the ItemScythe file, trying to run the game through Visual studio leads to it not loading my mod. It had been working before adding the code, and seems to load the mod when I remove most of the ItemScythe code. Note that I've tried both having the item registered and not, and both ways the mod still won't load. I've gone about trying to remove all json that included the file (as at first I figured I'd try just patching the scythe to use my class rather than the vanilla), as well as making an entirely different item in my assets folder, but regardless the game won't even load the mod to see those json files. Am I misunderstanding something here or is this weird? Here's the ItemScytheModded code, so you can see it's the same as in the original file: The odd thing about this to me is that even with the file not being used in any json and not being called anywhere, it just stops the game from loading the mod, but does load the mod if I remove parts of the code, specifically all of the overrides.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.