From 3b61e0d26c3b92a0b8e4676fb01d12744e046843 Mon Sep 17 00:00:00 2001 From: 2weiEmu Date: Thu, 5 Feb 2026 20:02:20 +0100 Subject: [PATCH] updated: more things, now tkinter yippee --- .obsidian/workspace.json | 4 +-- Nebulous Command/Notes on Mechanics.md | 1 + .../__pycache__/data.cpython-314.pyc | Bin 4164 -> 4336 bytes Nebulous Command/data.py | 5 +++ Nebulous Command/missiles-ranges.py | 32 +++++++++++++++++- 5 files changed, 39 insertions(+), 3 deletions(-) diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index 782072a..ea9fd20 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -177,11 +177,11 @@ }, "active": "04094233c3d02ad2", "lastOpenFiles": [ - "Nebulous Command/data.py~", + "Nebulous Command/missile-simulator.py~", "Nebulous Command/missiles-ranges.py~", + "Nebulous Command/data.py~", "Nebulous Command/__pycache__/data.cpython-314.pyc", "Nebulous Command/missiles-ranges.py", - "Nebulous Command/missile-simulator.py~", "Nebulous Command/calc.py~", "Nebulous Command/4913", "Nebulous Command/data.py", diff --git a/Nebulous Command/Notes on Mechanics.md b/Nebulous Command/Notes on Mechanics.md index 131b2bb..fd06f32 100644 --- a/Nebulous Command/Notes on Mechanics.md +++ b/Nebulous Command/Notes on Mechanics.md @@ -7,6 +7,7 @@ things that I still have to simulate: - new ui with where detected in the combination and where not - better error handling - better manipulations of settings for everything, perhaps tkinter more? +- can the radar target check Why does this document exist? Basically I just wanna explore what is the best way to build a solid _combat_ fleet in Nebulous. I.e. capable of winning fair 3000 point on 3000 point 1v1s, and perhapsperforming supporting roles in a match. diff --git a/Nebulous Command/__pycache__/data.cpython-314.pyc b/Nebulous Command/__pycache__/data.cpython-314.pyc index a322fe4327bacf0042606f07398f940e6d89d791..73c15888eee0f00ce4baff0340ae6b2c3f589bfd 100644 GIT binary patch delta 2004 zcmX@2@Ig^sn~#@^fq{YH!}^xY5Do^0#~=<2i$NKmXG~PLt`A}jVl`od2*olfG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^_afTqy$##sAtX$#@LEMvL7$xg@f_P1speC{? zG6eAj@uTnsf&@|cLP5ePe32kg6uwxHI0|0^&3wrqDP(zrAUPDiJQ`mC zjjtFtXYvk4c|lbaU1~wflV32(*K44NY6WSd@O6T8QTTd6`Y3z@G4L`2U)}g#EHZ)fFY*|2SgeyXBlJ_XA~zF zNl#}j0YB4-n18>bN`8RQek5XTY6fg)!YWFKb}rvcW-5afU)SI-dS7~~Y^7MBv_ z3$~CCNs=MRImkB7DDD^7P=+`m6gih53y`5;T?|34C~|H=CUF{ZHefSZ;*OUYhQgZ6x0s7dif*x{<>V)p++xnmE1CRuBErDHP{hi>z);2Mm#^TJ zn46ngG`WjSVe)D=`N`(&>WspZU+u{EEaty5vC8Q1^iNiZBAC zuSg!m18Y%anEa4SlTmVVJiFrL(;V^jgxw@3_& z4eTHICNuFHGxAI}7Ua){d9RParcijL0 diff --git a/Nebulous Command/data.py b/Nebulous Command/data.py index 52ae4df..8cab81e 100644 --- a/Nebulous Command/data.py +++ b/Nebulous Command/data.py @@ -81,3 +81,8 @@ radars = [ Radar("Bulwark Huntress", 4000, 40, 60, -38, 0, 4, 10), Radar("Ithaca", 3100, 40, 60, -34, 0, 4, 8.5), ] + + +@dataclass +class Illuminator(): + pass diff --git a/Nebulous Command/missiles-ranges.py b/Nebulous Command/missiles-ranges.py index 173e7c3..5aa4bc8 100644 --- a/Nebulous Command/missiles-ranges.py +++ b/Nebulous Command/missiles-ranges.py @@ -1,9 +1,39 @@ -from data import Jammer, Radar, Ship, Missile +from data import Jammer, Radar, Ship, Missile, radars import tkinter as tk +from tkinter import ttk + +RADAR_OPTIONS = [r.name for r in radars] def main(): root = tk.Tk() + # we need the ship that is _detecting_ + # what does that ship need? Radar, Illuminators, + # Strobe Correlators, ARRs and Signature Scramblers + label = tk.Label(root, text="The Detecting Ship") + label.grid(row=0, column=0) + + # RADAR + radar_det_combo = ttk.Combobox(root, values=RADAR_OPTIONS, state="readonly") + radar_det_combo.grid(row=1, column=0) + + # ILLUMINATORS + # not sure how these work yet? do these boost radiated + # power of a radar effectively, or how would that be? + # experimentally verify + + + + # we need the ship that is _hiding_ + # what does that need? What kind of Ship / Missile is it? + # What, and how many jammers + # does it have? How many layers of coating does it have? + # what other modifiers to Return signal does it have? + # i.e. radars and jammers that give + # +10%, or internal things, or is the Comms and RADAR off (-10% and -25%) + label = tk.Label(root, text="The Ship or Missile being detected") + label.grid(row=0, column=1) + root.mainloop() -- 2.54.0